python programming reverse number


python programming reverse number

Reverse of number in Python

=> in this we have to find the reverse 
of the given number 
example:number=12345 then output is
number_2=54321

source code

x=int(input("enter the number:"))
r=reverse(x)
print("Number :",x)
print("Reverse :",r)

python programming reverse number

Have any Question or Comment?

One comment on “python programming reverse number

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories

You have successfully subscribed to myprogrammingschool

There was an error while trying to send your request. Please try again.

My Programming School will use the information you provide on this form to be in touch with you and to provide updates and marketing.