There was a problem compiling the code from your notebook. Details: sequence item 0: expected str instance, NoneType found

My notebook runs and my answers are matching the expected answers. However, when I try to submit I get 0% with the following error:

There was a problem compiling the code from your notebook. Details:
sequence item 0: expected str instance, NoneType found

I searched around for it in the forum and looks like some people had a similar issue multiple years back but there’s no solution posted, so I’m not sure how to proceed with the grading now.

Any tips would be appreciated!

Check where you are supposed to return a string as an output and also check that that function return a string always. My guess is that for some case your function is return None instead of a string required that the in - Lab tests are not testing it for.

1 Like

Check that you have completed the entire notebook before you send it for grading.

Also check that you have not renamed the notebook. Only a notebook with the original file name can be graded.

1 Like