Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Reversed User Message
- #
- #Dustin Hammack
- #Feb. 14, 2017
- #This program will take input from the user
- #and will print the user message in reverse.
- #tell the user what the game does
- print('\n\n\tHere you will enter a message for me and')
- print('\tI will print the message to you in reverse.')
- #take in the message to reverse
- print('\n\n\t\tWhat would you like to say to me? ')
- message = input('\n\t')
- #reversing the message
- print('\n\t\tYour message in reverse is: ')
- reverse = message[::-1]
- print('\n\t' , reverse)
- #end the game
- print(input('\nTo quit, press Enter'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement