« All Events
5 PM – Python OOP – Bill
December 12, 2022 @ 5:00 pm - 6:00 pm
Today We:
- Learned how to check if a key exists in a dictionary
- Started the phonebook project
- Added ability to add new phone numbers
- Added ability to find someone’s phone number with their name
Your HW:
- When the user enters option 3, make it loop through the phone_book dictionary and display every person’s name and phone number like this:
-
"<name> - <phone number>"
- Create a new file called “Dec_12_DictionaryHW2”
- Copy code from page 100, 101.
- TRY IT YOURSELF page 105
- Make sure to upload both your phonebook project and book hw files to your google drive folders