No grades for C3 W1 assignment

i am getting zero grades after submitting the programming assignment with correct answers … it is only happening in this assignment …I am able to get grades for the other programming assignments …however this specific assignment is is not working for me and for some of my friends too…do help…am unable to get the certificate due to this problem


1 Like

There are lots of ways the grader can give you a score of 0 on this assignment.

What feedback do you get from the grader?

Please post a screen capture image of that. You may need to click on the > icon next to one of the functions to get the details.

1 Like

attached the photo …do see through it …

1 Like

I don’t see any image in your reply.

1 Like

have added the image to the original post…

1 Like

OK, thanks.

Did you complete the entire notebook before you submitted it for grading? You can’t leave any ‘None’ statements in the notebook.

1 Like

ill try …

1 Like

It Worked …tysm for your guidance

1 Like

I have the same error

this is after searching for None and making sure they are all completed, after restarting the kernel and running all cells again. All my outputs match the notebooks expectations. But I get this error for all the problems. I did not use partial grading, nor import anything extra etc.

1 Like

It’s very easy for the grader to be fooled into giving the “None” error, at any place in the notebook.

For example, if any “None” code is left visible (even if you use the “#grade up to here” tag), the grader can throw an error.

That’s just one of the ways the grader can throw confusing error messages. There are a lot of others.

2 Likes

I’m having the same issue. I used # grade-up-to-here for each step to see where is it the issue. After I reached the pmf_binomial function, it gave me zero for all the previous questions. The output is the same as expected. what is the issue???

1 Like

Do not use # grade up to here. It doesn’t really work. It throws errors if you have any incomplete code.

I recommend you complete the whole assignment, then send it for grading.

For the pmf_binomial() function, did you implement the math, or did you use the library function?

1 Like

I checked x is within the valid range [0, n], Calculated binomial coefficient, and then Calculate the PMF

1 Like

Try this instead:
(edited)

1 Like

still the same issue!! I don’t why I keep getting zeros

1 Like

Try the FAQ, it has a topic with some tips for this assignment.

1 Like

Thank you! I deleted the assignment and started again and I successfully submitted it.

That’s good news!