Loading Events

« All Events

  • This event has passed.

5 PM – Python OOP – Gamas

September 24 @ 5:00 pm - 6:00 pm
Today We Did
  1. We continued with School System. We created SchoolSystem class.
Homework
  1. Inside SchoolSystem project, create a new file teacher.py
    1. Create a Teacher class
    2. With 4 attributes: name, age, phone and subject_to_teach
  2. Inside school_system_2.py
    1. Change the menu so it will display the following
    2. SCHOOL SYSTEM
      
      1. Add New Student
      2. List All Student
      3. Find Student
      4. List all students older than 14
      5. Add New Teacher
      6. List All Teachers
      7. Find Teacher
      
      Enter your selection (enter 'exit' to stop):
    3. Try to add code inside school_system_2.py so you can add new teacher and list all teachers. Don’t forget to import the teacher class into school_system_2.py

Details

  • Date: September 24
  • Time:
    5:00 pm - 6:00 pm