- This event has passed.
5PM – OOP – Latisha
July 9, 2022 @ 5:00 pm - 6:00 pm
Today We Do
- Finished Adventure Game
Homework
- Create a new file book.py and add a new class Book. Inside the class, add these attributes: name, author, publication_year
- Create a new file book_main.py and add a new class BookSystem.
- Inside BookSystem, create a dictionary book_dictionary.
- Inside BookSystem create a new method application_loop().
- Complete features 1 and 2 from the example below
Enter one of the following: 1. Add Book 2. List all books 3. Find book by name 4. List all books before year 2010 0. Exit Please enter your selection: 1 ADD NEW BOOK Enter book name: Chamber Of Secrets Enter book author: JK Rowling Enter publication year: 1998 Enter one of the following: 1. Add Book 2. List all books 3. Find book by name 4. List all books before year 2010 0. Exit Please enter your selection: 2 LIST ALL BOOKS Chamber Of Secrets by JK Rowling, published on 1998