⌘K
How to write Function
#Challenge
Create a function called is_palindrome(word) that returns True if the word is the same backwards, and False otherwise.
- is_palindrome("racecar") -> True
- is_palindrome("python") -> False
- is_palindrome("madam") -> True