American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

SAT – 1PM – Indo – Python OOP – Joel

September 16, 2023 @ 1:00 pm - 2:00 pm

Today we did:
  1. We went over how to use the dictionary and created the Phone Book System’

 

Homework:
  1. Continuing on the Sep16_PhoneBookSystem project, create a new selection in the menu. This should be the 4th selection. It is called “Delete a phone number”.
  2. When the user inputs “4”, the program should ask the user for the name of the person they want to delete the phone number of. You have to check whether the name inputted exists in the dictionary or not. If it does, then print “You have successfully removed (their name)’s phone number”. If the name doesn’t exist, then just print “(Their name) does not exist in the phone book.”

Details

Date:
September 16, 2023
Time:
1:00 pm - 2:00 pm
Verified by MonsterInsights