word = input("Enter a word: ") def pldrm(i): return i == i[::-1] if word: print(word, "is a palindrome") else: print(word, "is not a palindrome")