Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #split #number #python
ADD COMMENT
Topic
Name
3+3 =