Answers for "convert 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 "convert an integer into a list"

Python Answers by Framework

Browse Popular Code Answers by Language