Write a python program to take a two-digit number and then print the reversed number along with flowchart and algorithm. Eg: If the number is 25, the output will be 52......pls answer asap. ty
Answers
Answered by
9
Answer:
Number = int(input("Please Enter any Number: "))
Reverse = 0
while(Number > 0):
Reminder = Number %10
Reverse = (Reverse *10) + Reminder
Number = Number //10
print("\n Reverse of entered number is = %d" %Reverse)
Similar questions