subject

Create a program that a user can use to manage the primary email address and phone number for a contact in python.
specifications:
- for the view and del commands, display an error message if the user enters an invalid contact number.
- the view command should display all contact information as shown above.
- use the contacts. csv file to store the data for the program.
- when you start the program, it should read the contacts from the csv file.
- when you add or delete a contact, the change should be saved to the csv file immediately. that way, no changes are lost, even if the program crashes later.
heres is how it should look:
contact manager
command menu
list - display all contacts
view - view a contact
add - add a contact
del - delete a contact
exit - exit program
command: add
name: alice carroll
email: alice@wonderland. com
phone: 352-555-9876
alice carroll was added.
command: list
1. guido van rossum
2. eric idle
3. lizard duck
4. morris feline
5. alice carroll
command: view
number: 1
name: guido van rossum
email: guido@python. org
phone: +31 0474 33 88 26
command: exit
bye!

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
The word ‘play’ comes with many different interpretations and a variety of definitions. discuss some of the various meanings tied to the word play. why is the concept of play thought to be an important addition to the workplace? do some (brief) research online and give an example of how play in the workplace is being done right.
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Which of the following is not a way in which trees benefit the environment? a. they remove a significant amount of carbon dioxide from the atmosphere. b. they remove a significant amount of oxygen from the atmosphere. c. their roots hold soil in place, reducing rates of erosion. d. they remove ozone and particulates from the atmosphere. select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
How are stop motion special effects in animated films created
Answers: 1
question
Computers and Technology, 24.06.2019 21:00
How does a vaccine prevent sickness and individual?
Answers: 2
You know the right answer?
Create a program that a user can use to manage the primary email address and phone number for a cont...
Questions
question
Mathematics, 09.12.2019 05:31
question
Mathematics, 09.12.2019 05:31
question
Health, 09.12.2019 05:31
question
Mathematics, 09.12.2019 05:31
question
Spanish, 09.12.2019 05:31
Questions on the website: 13722367