n=int(input("Please enter a number:"))r=0while n!=0: d=n%10 r=r*10+d n=n//10 print("Reverse Number:",r)
Loading…
No comments:
Post a Comment