210. Spell Check: Is It a Palindrome?
Easy · String
Magic spells that read the same forwards and backwards are twice as powerful! Write a function that returns True if a word is a palindrome (reads the same both ways), False otherwise. Ignore case.
Examples
Example 1 Input: word = "racecar" Output: True
Example 2 Input: word = "Luna" Output: False
Constraints
- 1 ≤ len(word) ≤ 100, letters only