C1_W2 Graded Assignment Help

When I run the first few exercises, it tells me “all tests passed” and yet after I submit the assignment, it tells me I’ve gotten 0 correct in those exercises…what am I doing wrong?

1 Like

Hi @Jenny_Storey!

Welcome to our community! Before we dig deep into your code, can you please be sure that you haven’t added any extra function (any extra print function, or an extra test function etc.) in the exercise cells?

Thanks,
Lucas

1 Like

I’m pretty sure I haven’t added anything. I might have deleted some lines accidentally, however.

1 Like

I see. Well, those deleted cells may be the problem. Could you please try to refresh your workspace and submit your solution without deleting any cell?

If the issue persists, we can investigate further.

Thanks,
Lucas

Thank you again. If I want to re-submit my assignment (I only got 73%), how do I do that? Follow the instructions for “refresh workspace” again? Also, how can I tell where I am messing up in the code? I am clearly missing something important in Exercises 4-6.

1 Like

I am also facing the same issue. I passed all the test cases, didn’t modify the cells, and followed the troubleshooting steps but I am still getting zero grades for all the answers. I need help, please.

1 Like

Yo! Please check if you did not forget to delete any “# grade-up-to-here” comment from your assignment. I just expent over 1.5h trying to figure it out what was going on with my code until I found two different cells in which I have forgotten to delete the “# grade-up-to-here” comment. Cheers!

1 Like

i did that and even though i have problem how you solve

1 Like

I am facing the same issue. I passed all the tests in this assignment but for exercises 4 and 6, I got 0 points because the function class is coming up as NoneType by the grader. When I try to look up the class, it shows me that it’s a function. Please advice.