Computer Science, asked by rkjoshichev, 11 months ago

write a program to accept a word. check and display whether the word is palindrome or only a special word or none of them​

Answers

Answered by Anonymous
2

Answer:

its a python program

Explanation:

word=str(input("enter the word"))

rev=word[::-1]

if rev==word:

   print("the word entered is a palindrome")

else:

   print("the word entered is not a palindrome")

#HOPE IT HELPS YOU

PLEASE MARK BRAINLIEST

Similar questions