Created
January 31, 2017 00:20
-
-
Save Ra1d7/59ca04b31cc51963a60e3354c5ef376a to your computer and use it in GitHub Desktop.
this will reverse your string! (exercise 15)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list = input('enter a string that you want to be reversed: ').split(' ') | |
list.reverse() | |
print(' '.join(list)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment