« All Events
5 PM – Python OOP – Bill
June 7, 2022 @ 5:00 pm - 6:00 pm
Today We:
- Continued the School Application project
- Created a list of students
- listed out all the students from that list
- Made a SchoolApplication class
- Gave the SchoolApplication class a new method to list out all the students from the list
- Created the menu as an attribute of the School Application class
- Created the main_loop method
- Created a new add_student method that asks the user for the information about the new student
- Created a new student inside the add_student method using the user input
Your HW:
- Give the SchoolApplication class a new attribute called students
- It will a list to contain all students
- In the add_student method, add the newly created student to the students list attribute