Created
October 12, 2014 02:21
-
-
Save puneetraipuria/1a262ce1781aa4f66980 to your computer and use it in GitHub Desktop.
how to reverse string #coderbyte
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
def reverse_string(str): | |
return str[::-1] | |
print reverse_string(raw_input()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment