Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to reverse a string in python

user_input = input("Input the sentence you want reversed: ")
print (user_input[::-1])
#This is the easiest way to do it lol
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reverse #string #python
ADD COMMENT
Topic
Name
6+9 =