text=input("Enter a word:") og=text text = text [::-1] if og == text: print(og, "is a palindrome") else: print(og, "is not a palindrome")