csc-python-solutions/07/a/3 - Heads and Tails.py

3 lines
62 B
Python
Raw Normal View History

2021-02-18 17:19:24 +00:00
string = input()
print(string[-1] + string[1:-1] + string[0])