Am I posting in the wrong place?

NameError Traceback (most recent call last)
Cell In [2], line 2
1 # Test your code!
----> 2 test_your_code.exercise_1a(book_title, author, year_published, available_copies)

NameError: name ‘book_title’ is not defined

hello, you must define book_title in a previous cell or code line, maybe you forget to run it before the next cell?:

book_title = #something before calling the function that contain book_title

If you are enrolled in the “AI Python for Beginners” course, you are posting in the correct place.

Tip:
Every time you open a notebook, you must run all of the cells starting from the top.

1 Like

Thank you. I will try again.