American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6:30 PM – Python Object Oriented Programming – Sebastian

April 4, 2023 @ 6:30 pm - 7:30 pm

Today We Did
  1. Finished School System project
  2. Began Library System project
  3. Got really good at creating new classes and constructors
  4. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Name your homework APR4_librarysystem_hw, please submit by next Monday.
  2. Homework:
    a) Implement list_all_old_books() function, which will use the book_dictionary attribute to print out the following:

    print(f”Title: {book.title} – Book Author: {book.author} – Year Published: {book.publish_year} – id: {book.id}”)

    This means you need the book object from the book_dictionary attribute, is the book object stored in the keys or values? That will determine how you will loop.

    b) Add 2 more test books to the add_test_books() function we made in class.

Details

Date:
April 4, 2023
Time:
6:30 pm - 7:30 pm
Event Categories:
,
Verified by MonsterInsights