American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Python OOP – Bill

June 14, 2022 @ 5:00 pm - 6:00 pm

Today We:
  1. Continued the SchoolApplication project
  2. Changed the list_all_students method to print out the students in the students list attribute of the School Application class
  3. Added a new method to the student class that returns a string that describes the student
  4. Added a new method: find_student
  5. Learned how to use user input to sort through a list
Your HW:
  1. Create a new file in your src folder called teacher_class
  2. In the new file, create a teacher class with the attributes: name, age, course_teaching
  3. Inside the main file, give the SchoolApplication class the same functionality that the students have but for the new teacher_class
  4. Make sure to have the following features:
    • add_new_teacher
    • list_all_teachers (hint: create a new attribute list to hold all the teachers)
    • find_teacher

 

Details

Date:
June 14, 2022
Time:
5:00 pm - 6:00 pm
Verified by MonsterInsights