- This event has passed.
6 PM – Python OOP – Gamas
March 1, 2023 @ 6:00 pm - 7:00 pm
Homework
- Inside LibrarySystem, add code inside book.py so it will have a new method called get_info(self)
- When get_info(self) is called it will return information of the book. Like this
- Title: Lightning Thief – Book Author: Henry – Year Published: 1995 – id: AAA1
- Look at example in Nov8_ClassHomework3.py inside Car class method get_descriptive_name(self)
- Inside main.py, change the code to use this new book.get_info()
- When get_info(self) is called it will return information of the book. Like this