Skip to content

Instantly share code, notes, and snippets.

@ShadowofZeus
Created December 9, 2019 10:43
Show Gist options
  • Save ShadowofZeus/e07df1053a26c8daa74da1fcb3bf7164 to your computer and use it in GitHub Desktop.
Save ShadowofZeus/e07df1053a26c8daa74da1fcb3bf7164 to your computer and use it in GitHub Desktop.
Reverse Words exercise
samplestring=str(input("Kindly input a test string or sentence: "))
splitstring=samplestring.split()
splitstring.reverse()
print(splitstring)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment