American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python OOP – Darin

February 18 @ 6:00 pm - 7:00 pm

What We Did Today:

  1. Continued the School System project
  2. Went over object oriented programming concepts
  3. Learnt how to use the Find algorithm for lists and dictionaries

Homework:

In your school system project, implement the following:

Homework:

Do options 4, 5, and 6
Start by creating a teacher class:
Teacher class:
self.name
self.subject
self.age

and a method to print_info like student class


Create a teachersDict variable with an empty dictionary

option 4: 
Add a teacher object to the dictionary the same way you did for the studentsDict

option 5:
list the teachers with the dictionary

option 6:
find a teacher the same way as you did with students

Notes:

You can reach me at ddjapri@ayclogic.com for any questions.

Class notes: https://drive.google.com/drive/folders/1OwtesGpGH9qm7A9cPpFKe-gooY71zxc4?usp=sharing

Details

Date:
February 18
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights