American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5:00 PM – Python Object Oriented Programming – Sebastian

May 23, 2023 @ 5:00 pm - 6:00 pm

Today We Did
  1. Began library system
  2. Created Book class (remember, our “model” for the book object)
  3. Created add_book, list_all_books, and find_book_using_title
  4. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Name your homework MAY23_library_system_hw, please submit by next Monday.
  2. Homework:

    a) First we need to add books to our books_by_id dictionary in the same add_book() method. This will be a bit different from how we did it for the books_dictionary dictionary, it’s your job to try and find out the difference on how we should “add it”.

    b) Similar to how we created find_book_using_title(), create a new method find_book_using_id() which will use our books_by_id dictionary attribute to find books after the user gives us a book ID. 

Details

Date:
May 23, 2023
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights