Thursday, 14 May 2015

Python program to find reverse of a number

This is a Python program which finds the reverse of a given  number.

PROGRAM : 
num = int(input('Enter any number : '))
print ('Reverse of the given number is : ',str(num)[::-1])


OUTPUT : 
Python - Reverse of a number




Similar Programs :
C program to find reverse of a number
Cpp program to find reverse of a number
Java program to find reverse of a number