+ 1
How do I take case sensitivity out of the equation?
I'm trying to figure out how to program palindromes and it won't work when upper and lower case letters are involved. Ex: Dad is not a palindrome because of the capitol 'd'. Please help https://code.sololearn.com/cKjE35L4Q6Fr/?ref=app
1 Answer
+ 3
Make "x" lower case!
...#change line 6 to
if x.lower() != x[::-1].lower():