PL/Python
파이썬 string reverse 하기
SweetDev
2021. 1. 28. 18:26
www.w3schools.com/python/python_howto_reverse_string.asp
How to reverse a String in Python
How to Reverse a String in Python Learn how to reverse a String in Python. There is no built-in function to reverse a String in Python. The fastest (and easiest?) way is to use a slice that steps backwards, -1. Example Reverse the string "Hello World": txt
www.w3schools.com
str[::-1]