Today We Do
- We review homework.
Homework
- Finish last week 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().
- This BookSystem will have the following features
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