Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to reverse a number in python

num = 123456
print(str(num)[::-1])
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #reverse #number #python
ADD COMMENT
Topic
Name
8+2 =