We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03a4251 commit 2b9febfCopy full SHA for 2b9febf
strings/palindrome_check.py
@@ -0,0 +1,5 @@
1
+string=input(("Enter a letter:"))
2
+if(string==string[::-1]):
3
+ print("The letter is a palindrome")
4
+else:
5
+ print("The letter is not a palindrome")
0 commit comments