American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6:30 PM – Python OOP – Sebastian

May 8 @ 6:30 pm - 7:30 pm

Today we did

  1. Start school system
    1. Create add_student()
    2. Create list_students()
  2. AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/
  3. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. I just realized I haven’t set up the Google Drive yet, sorry, we will go over homework next class and I will create/add you to the new folders
  2. Homework: Create a new file called MAY8_hw.py
    1. Create a new teacher object with attributes: name, age, subject
    2. Create attributes
      1. self.teacher_dictionary, self.teacher_list, exactly like the other student attributes
      2. You can add some sample objects if you want the same way we did for students, but up to you
    3. Create functions:
      1. add_teacher(), should look exactly like add_student() but asks for subject instead of grade
      2. list_teachers(), should look exactly like list_students() but loops over teacher list instead

Details

Date:
May 8
Time:
6:30 pm - 7:30 pm
Event Categories:
,
Verified by MonsterInsights