WeCodeAcademy

Check if a string is a palindrome

Compare the cleaned text with its reverse.

Examplepython
Open in editor »

More Python recipes