user_input = input("Input the sentence you want reversed: ") print (user_input[::-1]) #This is the easiest way to do it lol