- This event has passed.
5 PM – Python OOP – Bill
June 14, 2022 @ 5:00 pm - 6:00 pm
Today We:
- Continued the SchoolApplication project
- Changed the list_all_students method to print out the students in the students list attribute of the School Application class
- Added a new method to the student class that returns a string that describes the student
- Added a new method: find_student
- Learned how to use user input to sort through a list
Your HW:
- Create a new file in your src folder called teacher_class
- In the new file, create a teacher class with the attributes: name, age, course_teaching
- Inside the main file, give the SchoolApplication class the same functionality that the students have but for the new teacher_class
- 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