« All Events
4:30 PM – Python OOP – Gamas
March 22, 2022 @ 4:30 pm - 5:30 pm
Today We Do
- We continue with School Application.
- We added “1. Add New Student”
- We added “2. List all students”
Homework
- Continue with your School Application program
- Add “5. Add New Teacher” and “6. List all teachers”. This is very similar with what we did in the class today.
- Look at expected result below
Please select one of the following
1. Add new student
2. List all students
3. Find student
4. Quit
5. Add new teacher
6. List all teachers
7. Find teacher using Dictionary
8. Find student using Dictionary
Enter your selection: 5
ADD NEW TEACHER
Enter teacher name: Gamas Chang
Enter teacher age: 100
Enter teacher phone: 626-888-8888
Enter teacher subject of expertise: Computer
You have successfully added a new Teacher: Gamas Chang
Please select one of the following
1. Add new student
2. List all students
3. Find student
4. Quit
5. Add new teacher
6. List all teachers
7. Find teacher using Dictionary
8. Find student using Dictionary
Enter your selection: 6
LIST ALL TEACHERS
Gamas Chang - 100 years old - phone 626-888-8888 - Computer
Please select one of the following
1. Add new student
2. List all students
3. Find student
4. Quit
5. Add new teacher
6. List all teachers
7. Find teacher using Dictionary
8. Find student using Dictionary
Enter your selection: