word = input("Enter a word:") b = "" for n in word: b = n + b if b == word: print( word," Is a Palindrome") else: print( word, "Is not a Palindrome")