Skip to content

Instantly share code, notes, and snippets.

@puneetraipuria
Created October 12, 2014 02:21
Show Gist options
  • Save puneetraipuria/1a262ce1781aa4f66980 to your computer and use it in GitHub Desktop.
Save puneetraipuria/1a262ce1781aa4f66980 to your computer and use it in GitHub Desktop.
how to reverse string #coderbyte
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