Question: Code in Python Write a Python program for the phone book. The program must : 1) Store names and contact information in the dictionary as
Code in Python
Write a Python program for the phone book.
The program must:
1) Store names and contact information in the dictionary as key-value pairs.
2) Contact details must contain an object with attributes for address, email, and phone number
3)When running the program should unpickle the file to retrieve the dictionary
4) The console should display a menu with the following use cases:
1)Find a Contact by name and show information about it
2)Add a new contact and information about it
3)Edit an existing email
4)Change an existing phone number
5)Delete a contact and all information about it
6)Exit the phone book (in this case, first you must pickle the dictionary and save it to a file, and after finish executing the program).
5)When writing a program, replace setters and getters with properties
6)Make a check of the information entered by the user for correctness(that is, check that it has an ending with @ , the name consists only of letters , the phone number can only have numbers )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
