Created
December 9, 2019 10:43
-
-
Save ShadowofZeus/e07df1053a26c8daa74da1fcb3bf7164 to your computer and use it in GitHub Desktop.
Reverse Words exercise
This file contains hidden or 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
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