Palindrome Checker
Python
15 pts
Palindrome Checker
A palindrome reads the same forwards and backwards, like "level". Write a function is_palindrome(text) that returns True or False.
- Ignore upper and lower case:
"Anna"is a palindrome. - Ignore spaces:
"never odd or even"is a palindrome.
Checklist
- Define
is_palindrome(text). - Return
TrueorFalsecorrectly. - Ignore case and spaces.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
