American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP – Darin

November 19, 2024 @ 7:00 pm - 8:00 pm

What We Did Today:

  1. Continued the School System application, introducing more OOP.

Homework:

  1. Continue on your School System application in main.py, and complete the remaining methods for the Teacher.
    This is the comment we wrote for the homework due in 2 weeks
    
    # your hw is to finish the add, list, and find methods for the teacher in your main.py file for the School System application
    
    # Refer to phonebooksystem.py to see how to find things with a dictionary
    
    example output:
    
    

    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: 2

    LIST ALL BOOKS
    Title: Lightning Thief – Book Author: Henry – Year Published: 1995 – id: AAA1
    Title: Harry Potter – Book Author: JK Rowling – Year Published: 2001 – id: AAA2

    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: Harry Potter
    Title: Harry Potter – Book Author: JK Rowling – Year Published: 2001 – id: AAA2

Submit this files to the google drive when you are done!

Notes:

You can contact me at ddjapri@ayclogic if you have any questions!

Details

Date:
November 19, 2024
Time:
7:00 pm - 8:00 pm
Event Categories:
,
Verified by MonsterInsights