csc-python-solutions/07/a/3 - Heads and Tails.py
2021-02-18 18:19:24 +01:00

3 lines
62 B
Python

string = input()
print(string[-1] + string[1:-1] + string[0])