Skip to content

Instantly share code, notes, and snippets.

@Ra1d7
Created January 31, 2017 00:20
Show Gist options
  • Save Ra1d7/59ca04b31cc51963a60e3354c5ef376a to your computer and use it in GitHub Desktop.
Save Ra1d7/59ca04b31cc51963a60e3354c5ef376a to your computer and use it in GitHub Desktop.
this will reverse your string! (exercise 15)
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