American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Python OOP – Darin

August 19 @ 4:00 pm - 5:00 pm

Today We Did:

  1. Implemented the phone book system, creating a mini interactive program that uses a dictionary to store data.

Homework:

Continue in your Phone Book System project and upload that file to the google drive when you are finished.

Implement option 2, where you try to find the name if it exists in the dictionary, and print out that the name doesnt exist if the name is not in the dictionary.

hint: the name is the key in the dictionary

website instructions: https://www.ayclogic.com/phone-book-system/

sample output:

What do you want to do
1. Add a phone number
2. Find a phone number
3. List all phone numbers
Enter your selection (enter ‘exit’ to stop): 2
Enter the name of the person you are trying to find: Darin
Darin’s phone number is 1024823049049

What do you want to do
1. Add a phone number
2. Find a phone number
3. List all phone numbers
Enter your selection (enter ‘exit’ to stop): 2
Enter the name of the person you are trying to find: edward
Name does not exist in phone book.

NOTES:

You can contact me via ddjapri@ayclogic.com for any questions or concerns.

Expected holidays: https://www.ayclogic.com/observed-holidays/

Details

Date:
August 19
Time:
4:00 pm - 5:00 pm
Event Categories:
,
Verified by MonsterInsights