Answers for "python how to turn an integer into a list"

4

python make integer into a list

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

Code answers related to "python how to turn an integer into a list"

Python Answers by Framework

Browse Popular Code Answers by Language