Question: ( 1 point ) Allows the user to enter a set of 1 0 - digit phone numbers for each contact o ( 2 points
point Allows the user to enter a set of digit phone numbers for each contact o points The program will keep prompting the user for a contacts first name and last name. o points If the contact dictionary key is the tuple last name, first name does not have a phone number in the dictionary, the program will then ask for a digit phone number and store that information in the dictionary. o points If the contact already has a phone number, that number is displayed and the user will be asked if they want to enter another phone number. If they do the new phone number is added to the set of phone numbers for that contact. o points When the user hits the returnenter key in response to the first name prompt, the program prints the dictionary by contact last name, first name with their set of phone numbers. The dictionary is printed in sorted order by last name
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
