Answers for "split a given number in python"

0

split a given number in python

# split a given int value in list
num = 13579
x = [int(a) for a in str(num)]
print(x)
Posted by: Guest on October-15-2021

Code answers related to "split a given number in python"

Python Answers by Framework

Browse Popular Code Answers by Language