I have managed to code a function to check if a word is a palindrome..
However, how to check if a sentence with many words is a palindrome?
Example of a palindrome sentence are these:
1. He is the the is he.
2. hello world hello.
Can give me hints on how to figure this?