Log in
← All problems

Palindrome sentence

mediumStrings20 XP

A sentence is a palindrome if it reads the same backwards once you keep only letters and digits and ignore upper/lower case. Return whether s is one.

Examples

Examples use JSON: true/false/null are True/False/None in Python.

Run examples checks the examples above. Submit also runs 4 hidden tests.