Hello Andy @Andy6,
This error indicates that the function isn’t implemented correctly, but it is not uncommon. While it is your work to debug your code, we can provide some hints.
-
Cell #5. Can’t compile the student’s code.
This says your cell #5 has a problem. - To find out which is cell #5, go to your notebook, click “Kernel” > “Restart & Run All”
- All code cells are then queued to run. As a cell finishes, a number will show up on the left like
In [1]
. - Wait until you see
In [5]
, then that’s the cell #5. I expect you to see more an error traceback beneath the cell #5. - You may or may not see this error message “IndentationError: unexpected indent”, but regardless of what message you see, google it to understand more.
- If you want to know how to indent correctly, you may check out this post.
Good luck!
Raymond