RosettaCodeData/Task/Reverse-a-string/Python/reverse-a-string-2.py

2 lines
13 B
Python
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
string[::-1]