a=input("Enter Word") b=len(a) c=0 for x in range (b): x=int(x) if a[x]==a[-x] : c=1 if c==1: print("Pallindrome") else: print("Not")

Built With

Share this project:

Updates