Create 3 - Heads and Tails.py

This commit is contained in:
Lukas Baumann 2021-02-18 18:19:24 +01:00 committed by GitHub
parent ae084bc16d
commit 24ac7d28ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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