DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
convert number to reversed array of digits python
def digitize(n): return [int(s) for s in str(n)][::-1]
PREVIOUS
NEXT
Tagged:
#convert
#number
#reversed
#array
#digits
#python
ADD COMMENT
Topic
COMMENT
Name
5+9 =
Submit