Python: reverse_string

This commit is contained in:
Dmitry Kokorin 2021-07-05 17:50:40 +03:00
parent 6d20598706
commit 93093ee6e9
4 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,2 @@
def reverse(text):
return text[::-1]