How To Find Whether A Word Is Palindrome Or Not

        #PALINDROME WORD



print('PALINDROME WORD ')

w=input('Enter Word :- ')
y=len(w)
x=''

for i in range(1,y+1):
    x=x+w[y-i]

print(x)

if(x==w):
    print(w,'is a palindrome word.')

else:
    print(w,'is not a palindrome word. ')


Made By :-
         Nilay Saraf

    
    
   

Comments

Popular Posts