Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP – Gus

October 11 @ 7:00 pm - 9:00 pm
What we learned today:
  1. We reviewed the past material
Homework:
  1. Create a teacher.py and staff.py file, and create Teacher and Staff class
    -for teacher class it has name, age, subject
    -for staff class it has name, phone, email, age, duty
  2. Create a method for teacher and staff both called print_info, just like what we did with the student class

    -teacher output “{name} is {age} years old and teaches {subject}”
    -staff output “{name} is {age} does {duty}”

Details

  • Date: October 11
  • Time:
    7:00 pm - 9:00 pm