Grader Fails for All Assignment Parts

Hello @Mubsi ,

I have successfully replicated all expected output and passed all the tests in this assignment, however, the grader fails with the following message for every part of the assignment:

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

I even re-started my workspace, made a new notebook with all my answers (that also passes all tests) and I get the same error every time I try to submit for grading. Please advise.

My Lab ID is - utatqkcr

Thank You

Hello, markwclements.

Your notebook most probably has some cell with a syntax error which is not needed for expected outputs or unit tests. I would suggest to check every single executable cell.

I don’t think this is the problem. I can select cell → run all and the entire notebook executes without producing warnings or errors after any of the cells.

Hmm… that is strange. In this case I would suggest to save your code on local machine (or just rename it at Coursera) and refresh the environment ( add ?forceRefresh=true to the end of your original notebook URL and press Enter key on you keyboard). Then refill all None instances.
I Hope this will solve your problem.

Well somehow it just worked after the 15th time. Thanks for your suggestions. I’m closing this.