Today we did
- Explored how we can update classes to add functionality
- Used that functionality to add allergy considerations to our code
Homework
In the main.py file, lets set up our project
create a class called SchoolSystem:
- In our __init__ method, there should be no paramaters for now
- There needs to be a variety of self.______ including
- the menu for our function (as a string)
- 4 lists: a student_list,teacher_list,class_list, and a staff_list
- 4 dictionaries: a student_dict,teacher_dict,class_dict, and a staff_dict
- the names should be the same as above (ex. self.menu, self.student_list)
- The menu has the following options
1. Add Student
2. List all students list
3. Find student
4. Add new teacher
5. List all teachers
6. Find a teacher
7. List all teachers dictionaries
8. List all students dictionaries
9. Add staff
10. List all staffs using List
11. List all staffs that is younger than 20
12. Find staff by name using List
13. Find staff using Dictionary.
14. Add a classroom
15. List all classroom