Getting error while submitting Programming Assignment - Prob & Stats - Week 1

The error “There was a problem compiling the code from your notebook. Details:
cannot assign to None (, line 343)”

Week 1 assignment - " Probability Distributions / Naive Bayes"

I have downloaded all the latest files by renaming all the old files. All the test code is compiled locally and is passing the expected output. As soon as I submit the assignment, it shows this error in all functions. No partial grading as well.
Ps - There is no line 343 in the notebook, so not sure what code to comment/remove/check

Did you ever download the notebook, work on it using some other platform, and then upload it back to Coursera for grading?

No, I use “work in browser” for all assignments

Please check your personal messages for instructions.

Hey , can you send me the code file for reference. I am trying since one week to rectify the issues in my code but it seems my code is correct and the test cases are wrong.

No, sending you the solution would break the Code of Conduct.
The test cases are not wrong.

Yeah you are right. I was going through the code again few hours ago and I found the cause of errors.

1 Like