Python: reverse_string
This commit is contained in:
parent
6d20598706
commit
93093ee6e9
4 changed files with 86 additions and 0 deletions
2
python/reverse-string/reverse_string.py
Normal file
2
python/reverse-string/reverse_string.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
def reverse(text):
|
||||
return text[::-1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue