- This event has passed.
3 PM – Python OOP – Gamas
June 20 @ 3:00 pm - 4:00 pm
Today We Did
- We reviewed more dictionary example
- We created a system that can keep track of student’s score with dictionary.
Homework
- Inside your existing june_13_student_score.py
- Add code that will list all students scores when user enter “3”:
- Examples
-
Menu 1. Add student name 2. Find student score 3. Print all scores Enter 'exit' to quit: 1 ENTER STUDENT SCORE Enter student name: Alyssa Enter student score: 100 Alyssa with score 100 has been added to the system Menu 1. Add student name 2. Find student score 3. Print all scores Enter 'exit' to quit: 1 ENTER STUDENT SCORE Enter student name: Gamas Enter student score: 90 Gamas with score 90 has been added to the system Menu 1. Add student name 2. Find student score 3. Print all scores Enter 'exit' to quit: 1 ENTER STUDENT SCORE Enter student name: John Enter student score: 80 John with score 80 has been added to the system Menu 1. Add student name 2. Find student score 3. Print all scores Enter 'exit' to quit: 3 ALL SCORES Alyssa score is 100 Gamas score is 90 John score is 80 Menu 1. Add student name 2. Find student score 3. Print all scores Enter 'exit' to quit: