1n = input("Enter the word and see if it is palindrome: ") #check palindrome
2if n == n[::-1]:
3 print("This word is palindrome")
4else:
5 print("This word is not palindrome")
1mes=input("Enter the word and see if it is palindrome ")
2if mes==mes[::-1]:
3 print("This word is palindrome")
4else:
5 print("This word is not palindrome")