Skip to content

Commit 337b777

Browse files
author
codehouseindia
authored
Merge pull request codehouseindia#477 from Abhigyan-22/patch-3
Create Palindrome string program
2 parents 4c67a02 + 484671e commit 337b777

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Palindrome string program

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)