4 lines
60 B
Python
4 lines
60 B
Python
num = int(input("Enter a number: "))
|
|
|
|
print(str(num)[::-1])
|
num = int(input("Enter a number: "))
|
|
|
|
print(str(num)[::-1])
|