- This event has passed.
4:30 PM – Python OOP – Roland
March 28 @ 4:30 pm - 5:30 pm
Gamas Sub
Today We Did
- We started LibrarySystem project.
- We created Book class.
- We added add_book and list_all_books.
Homework
- Continue with LibrarySystem project
- Add codes to enable
- find book (by name). Use book.get_info() to display the book info.
- list all old books. This is all books whose year is less than 2000.
Please look at below options 1. Add book 2. List all books 3. Find book by name 4. Find book by id 5. List all old books Enter your selection. Enter 'quit' to exit: 1 ADD NEW BOOK Enter book title: Lord Of The Rings Enter book author: JRR Tolkien Enter publish year: 1954 Enter book id: ABC1 You have added Lord Of The Rings book to our library. Please look at below options 1. Add book 2. List all books 3. Find book by name 4. Find book by id 5. List all old books Enter your selection. Enter 'quit' to exit: 1 ADD NEW BOOK Enter book title: Lightning Thief Enter book author: Rick Riordan Enter publish year: 2005 Enter book id: BCD2 You have added Lightning Thief book to our library. Please look at below options 1. Add book 2. List all books 3. Find book by name 4. Find book by id 5. List all old books Enter your selection. Enter 'quit' to exit: 3 FIND BOOK Enter book title that you want to find: Eugene We couldn't find Eugene in our Book list. Please look at below options 1. Add book 2. List all books 3. Find book by name 4. Find book by id 5. List all old books Enter your selection. Enter 'quit' to exit: 3 FIND BOOK Enter book title that you want to find: Lightning Thief Lightning Thief (BCD2) by Rick Riordan published on 2005 Please look at below options 1. Add book 2. List all books 3. Find book by name 4. Find book by id 5. List all old books Enter your selection. Enter 'quit' to exit: 5 LIST ALL OLD BOOKS Lord Of The Rings (ABCD1) by JRR Tolkien published on 1954