Kernel Dying problem

When I get to exercise 5 of Course 2 week 3, when I run this cell, the kernel keeps dying. I tried updating Anaconda and have run it at different times but it still doesn’t work. I have also submitted it because all of the tests before this have worked and showed that I have passed them but I am getting a 0 on the assignment even though the code works. I also can’t find the reboot button in the help section so I am usnsure what to do.

If you are using the Coursera environment, updating Anaconda was a very bad idea.
What is the grader feedback when it gives you 0?

Oh shoot really? This is what the grader input shows.

Oh :scream_cat: :scream_cat: :hushed: :hushed:!

Please do these:

  1. Restart your PC/Laptop
  2. Open the assignment (C2 W3 A1) you mentioned
  3. In the Jupyter Notebook, do Kerenl → Restart
  4. Add a new cell at the top of the notebook.
  5. Copy and paste the code provided below into the new cell:
import sys
  1. Run the cell to see the output.

In my case, the output is:

3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 23:03:20) 
[GCC 7.3.0]

What is yours? I want to see if Coursera has automatically reverted back to the original version after restarting.

I have done all of those things and when I ran the code, I got the same thing as you did.

OK. I guess Coursera automatically reverted back to the original version.

Have you done anything as below?

**Important Note on Submission to the AutoGrader**

Before submitting your assignment to the AutoGrader, please make sure you are not doing the following:

1. You have not added any extra print statement(s) in the assignment.
2. You have not added any extra code cell(s) in the assignment.
3. You have not changed any of the function parameters.
4. You are not using any global variables inside your graded exercises. Unless specifically instructed to do so, please refrain from it and use the local variables instead.
5. You are not changing the assignment code where it is not required, like creating extra variables.

If you do any of the following, you will get something like, Grader Error: Grader feedback not found (or similarly unexpected) error upon submitting your assignment. Before asking for help/debugging the errors in your assignment, check for these first. If this is the case, and you don't remember the changes you have made, you can get a fresh copy of the assignment by following these instructions.

Can you get a fresh copy of your assignment, as explained here?

I have not done any of the stuff listed above, and I got a fresh copy by following the steps.

OK! Please do your code in a fresh copy (without changing any other code or version) and then try to submit it. Update us here.