I am working on the required programming assignment at the end of week 2.
I submitted the lab a few days ago, and it said that I failed. However, I got all the correct outputs, and when I checked my code against the code given in the hints, it was the same except for a few different variable names. Has anyone else had this issue? How can I pass this assignment?
There are lots of ways you can write code that will pass the notebook’s built-in tests, but will fail the grader.
The tests in the notebook do not prove whether your code is perfect.
Also, there are lots of procedural things you can do with your notebook that will break the grader.
When you get 0’s from the grader, you should look at the detailed grader feedback to see what it’s unhappy about.
Click on any of the > markers, and you’ll see an explanation.
First, please don’t post your code on the forum. That’s not allowed by the Code of Conduct.
If a mentor needs to see your code we’ll contact you with instructions. Generally we’re going to want to see your entire notebook, because often problems in one area will show themselves in some other test.
Did you rename your notebook file? The grader doesn’t like that. It always uses the original notebook name, regardless of what you changed the name to.