Skip to content

Instantly share code, notes, and snippets.

@odanga94
Created May 13, 2017 15:59
Show Gist options
  • Save odanga94/6f23a51404578c4f0d861cb951f62f68 to your computer and use it in GitHub Desktop.
Save odanga94/6f23a51404578c4f0d861cb951f62f68 to your computer and use it in GitHub Desktop.
PracticePython/Exercise15.py
def reverse():
original = raw_input("Enter a string containing multiple words:")
reverse = " ".join(original.split()[::-1])
print(reverse)
reverse()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment