Week 2-Assignment 2 Can't compile the student's code

Hi, @MaxAB! Are you sure you’ve done “Cell → Run All” in your notebook and then gone through carefully to make sure none of the cells are throwing any errors?

If your notebook “runs cleanly” as it stands, but the grader throws that type of error, then the other thing to wonder is whether you’ve just accidentally corrupted some structure that the grader depends on. One experiment worth trying would be to get a clean copy of the notebook and then very carefully just “copy/paste” over your completed solution code and see if that helps. There is a topic about how to do that on the FAQ Thread.