Answers for "python how to turn int to list"

4

python make integer into a list

res = [int(x) for x in str(num)]
Posted by: Guest on April-02-2020
0

int to list python

res = list(map(int, str(num)))
Posted by: Guest on June-24-2021

Code answers related to "python how to turn int to list"

Python Answers by Framework

Browse Popular Code Answers by Language