Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

What Is A Database And How Do I Use It

Authors: Matt Anniss

1st Edition

1622750799, 978-1622750795

More Books

Students also viewed these Databases questions