53.1k views
0 votes
How do you detect whether or not a word is a palindrome?

User Coool
by
8.4k points

1 Answer

5 votes
First, let's define the meaning of palindrome. Palindrome is a word that is structured similarly forwards or backwards. An example would be the name Hannah. If you write it backwards, it is still Hannah. Hence, you can detect if the word is a palindrome if it still spells the same if you read or write it backwards.
User Ryan Sepassi
by
8.1k points