Skip to content

Commit

Permalink
resolve issue #44
Browse files Browse the repository at this point in the history
  • Loading branch information
vineet8588 committed Oct 23, 2018
1 parent 80dd25b commit 22b1132
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions programs/Python/palindrome.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#Program to check for palindrome
st=input("Enter any string -> ")
if(st==st[::-1]):
print("The entered string is a palindrome.")
else:
print("Not a palindrome.")

0 comments on commit 22b1132

Please sign in to comment.