Python Program to Reverse Words/Sentences
I wanted to create a program in Python that will allow a person to input a word or sentences and it reverses. I am sure there are other ways to do this but this approach seems simple for me to use and understand.
#Create a program that will allow user to input a sentence or word and write it backwards
mysentence= str(raw_input("Enter a word or sentence ")) reverse = mysentence[::-1] print reverse













