Mistake on section 16.4 of Thinkcspy?

15 views
Skip to first unread message

Fabrizzio Gonzales

unread,
Mar 13, 2020, 9:38:31 AM3/13/20
to RunestoneInteractive
Hello!

I'm following the interactive "How to think like a computer scientist course". Really enjoying it and learning a lot. Thanks a lot for your work.

On section 16.4, the last exercise about writing a check palindrome string performs one of the following tests:

testEqual(isPal(removeWhite("madam i'm adam")),True)

Unless I understood something wrong, the string "madam i'm adam" is not a palindrome, so the test should pass False.



Reply all
Reply to author
Forward
0 new messages