Код:
number = input("Please put your number: ")
print('This is reverse number: ' + number[::-1])
Робота Ісходніка:
>>> Please put your number: 123
>>> This is reverse number: 321
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Код:
number = input("Please put your number: ")
print('This is reverse number: ' + number[::-1])
Робота Ісходніка:
>>> Please put your number: 123
>>> This is reverse number: 321