Question: Write a Python program that prompts the user to input names and phone numbers for at least 5 people. Then, allow the user to input

Write a Python program that prompts the user to input names and phone numbers for at least 5 people. Then, allow the user to input a name, and display the corresponding phone number. If the entered name is not in the phonebook, print a message indicating that. Allow the user to exit the program by entering 'a'.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!