value = input("Enter a Word: ") if value == value[::-1] : print(value) print(value[::-1]) print("THIS WORD IS A PALINDROME") else : print(value) print(value[::-1]) print("THIS WORD IS NOT A PALINDROME")