← Projects

Delete palindrome.py

93279bb688b1112060ad3f234c243d68ad1757f1 · ovidiucs · Jul 14, 2013 23:49

−12 · 1 file changed

  • Text/palindrome.py +0 −12
diff --git a/Text/palindrome.py b/Text/palindrome.py
deleted file mode 100644
index 43c7f41..0000000
--- a/Text/palindrome.py
+++ /dev/null
@@ -1,12 +0,0 @@
-"""
-Check if Palindrome - Checks if the string entered
-by the user is a palindrome. That is that it reads
-the same forwards as backwards like "racecar"
-"""
-
-string = raw_input('Enter a string: ').lower()
-
-if string == string[::-1]:
-    print '%s is a palindrome' % string
-else:
-    print '%s is not a palindrome' % string