Error in week 3 programming assignment code

{moderator edit - solution code removed}

Can someone pls help me resolve this error ?

1 Like

That just means you need to run the earlier cells in the notebook. Anytime you restart the notebook, you need to run everything again to recreate the “runtime state”. Try “Cell → Run All Above” and then run your test cell again.

The test routines are imported from the file by the “import” cell early in the notebook.

There is a topic about this on the DLS FAQ Thread, q.v.

1 Like

thankyou sir

1 Like