Week 4 Assignment Syntax Error

Hello! I ran into a problem submitting the assignment. Has anyone had the same issue?

I have passed the tests within the Jupyter environment, everything gives the correct outputs. However, whenever I submit the assignment, I get the following message for each (!) of the tests:

“The notebook you provided has a syntax error that prevents it from compiling.”

What could be a possible solution for this? Any suggestion is appreciated!

Fixed it - turned out that one of the cells was formatted as ‘Code’ instead of 'Markdown. Hope this will work for others, too.