Commit fb3bfac0 authored by Pranay vardhan reddy's avatar Pranay vardhan reddy

Add new file

parent e3de63cb
Pipeline #10565 passed with stage
in 14 seconds
#palindrome
s=input("enter the string:")
rev_s=reversed(s)
def palin():
if list(s)==list(rev_s):
print(s +"is a palindrome")
else :
print(s +"not a palindrome")
palin()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment