- This event has passed.
5 PM – Python OOP – Bill
June 28, 2022 @ 5:00 pm - 6:00 pm
Today We:
- Continued the Book Application project
- Gave the Book class a get_info method
- Created the main_application class
- Created the menu for the main application as an attribute
- Created the main loop method in the main_application class
- Reviewed how to run the main loop
- Created a add_a_book method
- Created a dictionary attribute called “shelf” to hold all created books
Your HW:
- Create a new method called “initialize_books” in the application class, no parameters
- Inside this method, create 3 book variables (your favorite books)
- Add these 3 book variables to the shelf dictionary attribute
- Call this method before the main while loop runs
- No Class Next Week (7/5/2022), Happy 4th of July