#try to avoid input function a = int(input("Enter any Number :")) for i in range(len(str(a))): print(a%10,end="") a = a//10
Click the run button. Try to avoid input() function.