- This event has passed.
3 PM – Python OOP – Gamas
June 13 @ 3:00 pm - 4:00 pm
Today We Did
- We learned when to use Python Dictionary.
- We did phone number search program using dictionary.
Homework
- Create june_13_student_score.py
- Use dictionary and create a program like below. You need to know how to insert to the dictionary and how to get from dictionary.
-
Menu 1. Enter student score 2. Find student score Enter 'exit' to quit: 1 ENTER STUDENT SCORE Enter student name: Alyssa Enter student score: 90 Alysa with score 90 has been added to the system Menu 1. Enter student score 2. Find student score 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. Enter student score 2. Find student score Enter 'exit' to quit: 2 FIND STUDENT SCORE Enter student name: Gamas Gamas cannot be found in our system. Please try other name. Menu 1. Enter student score 2. Find student score Enter 'exit' to quit: 1 FIND STUDENT SCORE Enter student name: John John's score is 80. Menu 1. Enter student score 2. Find student score Enter 'exit' to quit: 1 FIND STUDENT SCORE Enter student name: alySSa alySSa's score is 90. Menu 1. Enter student score 2. Find student score Enter 'exit' to quit: exit Bye bye