SIMPLE PROGRAM FOR PALINDROME SYNDROME IN PYTHON.

#this code is designed by codenation.
#6:08  11/29/2020

#taking name as input.


name=input("enter your name :\n")

#performing reverse name operation.


reversed_name=name[::-1]

#checking for palindrome syndrome.


if(name==reversed_name):
    print("there is palindrome.")
else:
    print("there is no palindrome.")



#this code is developed by codenation.

Comments