We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5db3a4 commit 6bce6caCopy full SHA for 6bce6ca
Text/reverse.py
@@ -0,0 +1,8 @@
1
+# -*- coding: cp1252 -*-
2
+"""
3
+Reverse a String – Enter a string and the program
4
+will reverse it and print it out.
5
6
+
7
+string = raw_input("Whatchu wanna say to me? ")
8
+print "You say %s, I say %s" % (string, string[::-1])
0 commit comments