Error from Module 2 - Programming Assignment Test

Hello, I’d accidentally disabled the coding box from the test and keep getting the error message when running the scripts, is there any ways to fix it or start over a new test page? (it keeps getting the same error page even I submitted the test). thank you!

Probably best if you use the File menu and rename your current notebook, then use the Lab Help and “Get latest version”.

Then exit and re-enter the lab.

This will give you a new copy of the notebook, so you can start over.

Thanks @TMosh and let me try!

no luck…it’s still going back the same page.

I’d re-launched it and getting:

Failed test case: The variable 'book' should be initialized exactly once. Please ensure it is initialized only once, and as a Python Dictionary as instructed in the exercise.
Grader expected: One initialization of 'book'
You got: 0 initializations of 'book'
Failed test case: There was no output for Exercise 2 cell, check that you run it.
Grader expected: An output generated from print statement
You got: None

To start over, you absolutely must either rename or delete your original notebook, before you use “Get latest version”.

Then exit and reload the lab.

If you do that, then you won’t be seeing your old error messages.

Do not try to use your original notebook any more, it will only cause problems.

1 Like