Book Tracker: Lesson 2

Book Tracker: Lesson 2

The error says the ‘if/else’ statement is not correct, but it does work, see below.

It should work, try Kernel → Restart and Run again all cells from top. Also perhaps the grader is checking for a certain form maybe this one:

if book[‘on_shelf’] and book[‘on_hold’]:

….

1 Like