i = input("ENTER A WORD: ") e = i[::-1] if e == i : print(i, "is a palindrome") if e != i : print(i, "is not a palindrome")