Exercise 8:
I created the following code for the Intermediate exercise. It creates the right printout when clicking on run. Clicking on Test it results in an assertion error (Test Failed: AssertionError: False is not true : Incorrect answer. Please check your code.), which I cannot understand.
Any clue what is wrong with my code to result in this error?
My suggested code is: