"description": "ending with whitespace",
"heyBob": "Okay if like my spacebar quite a bit? "
The Python tests align with those specs:
response("Okay if like my spacebar quite a bit? "), "Sure."
The sentence should be considered a question when they end with a ?. Trailing whitespace should not count and ending with "? " should be considered ending with a ?.
Oh, I see, in other words I misunderstood the error message a bit. My program did not return “Sure” but “Whatever” instead, but “Sure” is what is actually expected. In this case I have to modify my code accordingly.
Wow, now after I completed this exercise, I see that there is even a special badge for completing this exercise. Only 7.4% of all Exercism users have earned this badge. Wow, this makes me feel good and gives me some motivation. Not bad for a complete beginner like me.