Question: We're going to write a program that manages the email address of our contacts. Your program must contain a class named contact that has 3

We're going to write a program that manages the email address of our contacts.
Your program must contain a class named contact that has 3 attributes
(instance variables): last name, first name, and email. Your class should also
have a method to return the full name and email address for printing when
requested. You may add other methods to the class if you like.
Please start early in the week that this program is due; this gives you plenty of
time to ponder how is should work. Moreover, there will be more to ponder as
the course progresses. I am glad to help troubleshoot programs, but I go to bed
reasonably early and am unlikely to stay up until midnight of the due date.
Each contact should use a single instance of your contact class. You should use
either a list or a dictionary to act as a container of the contact instances.
Also, the program should have a menu that allows the user to interact with your
collection of contacts: displaying contacts or adding new contacts as long as the
user wishes, then saying goodbye when finished. The menu should offer these
options. Note we are not saving anything to disk here.
Program Options.
1.) Display all contacts
2.) Create new contact
3.) Exit
option = input("Enter 1,2, or 3: ")

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 Programming Questions!