How do I solve a NoneType.__format__ error?

When I submit the lab: A/B testing in week 4 of probability and statistics, I get the same error in every cell: NoneType.format. I have no idea how to fix this as the output appears to match was expect.

Any help would be great. Thanks,


1 Like

A couple of starting points:

Please post a screen capture image showing the detailed grader feedback.

Did you ever download that notebook to work on locally or on some other platform, and then upload it back to Coursera Labs for grading?

Did you add any new cells to the notebook, or delete any cells?

Have you changed the original notebook file name?

1 Like

Hey TMosh,

Thank you for your response. I don’t believe I have added any new cells to the notebook. Every “graded” cell has the same error. I have attached a screenshot. I didn’t change the notebook file name either.

1 Like

Well, I just reran the whole notebook again and I was able to submit. I don’t know what was different but it worked that time.

1 Like

Glad it worked.