Submission error in C1_W3_Logistic_Regression

I am getting the following error:
Cell #14. Can’t compile the student’s code. Error: TypeError(“unsupported operand type(s) for +=: ‘NoneType’ and ‘NoneType’”)

What does cell # refer to (I do not have a cell #14? Is is the 14th code cell? when I execute by running each individual cell, the code works well. The submission is failing. Any advice to resolve this?

Hello Ravi,

These grader cells comes with template and you only need to replace the None with the codes.

#14 might be the code line.

if you notice in the error log it shows +=: but it should be += so the type error


The issue is resolved. I was working on my copy of the file. Once I update the assignment copy, everything worked fine.

Were you working on the copy of your file on local system/jupyter lab?