DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to reverse a number
number = 12345 print(int(str(number)[::-1]))
Source by 7learn.com #
PREVIOUS
NEXT
Tagged:
#reverse
#number
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit