C1M2 _Assigment - Cannot generate output

Hello and thanks for your help. I’m stuck with the second programming assignment for module 2.
Please see screenshot 2 (code I inserted)
And this is the error message I got after testing if my code was correct or not:
screenshot 1
I don’t understand the error message - I have been checking my code was correct

(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)

May this can help you:

Restart the kernel, and then implement the changes and run the cells again.

Hi @SRioufol,

Please make sure the notebook file name you are working in is called C1M2_Assignment.ipynb.

If the issue remains, let me know.

Best,
Mubsi

Hi Mubsi,
Yes this is the correct name: /notebooks/C1M2_Assignment.ipynb.
The issue still persists.

Sabine

Hi @SRioufol ,

True and False are boolean value, but you coded it as string. When you removed the quotation marks, you will see that the colour changed from red to green.
Please remember to rerun your code from the first cell after editing your code.

1 Like