- This event has passed.
6:30 PM – Python Object Oriented Programming – Sebastian
April 4, 2023 @ 6:30 pm - 7:30 pm
Today We Did
- Finished School System project
- Began Library System project
- Got really good at creating new classes and constructors
- In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
- Name your homework APR4_librarysystem_hw, please submit by next Monday.
- Homework:
a) Implement list_all_old_books() function, which will use the book_dictionary attribute to print out the following:print(f”Title: {book.title} – Book Author: {book.author} – Year Published: {book.publish_year} – id: {book.id}”)
This means you need the book object from the book_dictionary attribute, is the book object stored in the keys or values? That will determine how you will loop.
b) Add 2 more test books to the add_test_books() function we made in class.