Skip to content

Instantly share code, notes, and snippets.

@bricejlin
Created September 13, 2013 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bricejlin/6555793 to your computer and use it in GitHub Desktop.
Save bricejlin/6555793 to your computer and use it in GitHub Desktop.
string = 'this is a string'
arr = string.split(' ')
print arr.reverse.join(' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment