Created
January 7, 2019 04:47
-
-
Save Poorvak/10bac982c1fe02dc6e7c098da49a67a6 to your computer and use it in GitHub Desktop.
Reverse words in a given string
This file contains 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
' '.join(input().split(' ')[::-1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment