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")
solo
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")
Leave feedback in the comments!
Log in or sign up for Devpost to join the conversation.