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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 12:30, kayleigh2037
What characteristic of long period comets suggest they come directly from the oort cloud?
Answers: 2
image
Computers and Technology, 23.06.2019 05:20, jaylenmiller437
Which operating system is a version of linux?
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, blake2001
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
image
Computers and Technology, 23.06.2019 13:00, jaelynnm
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
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 in other subjects:

Konu
Mathematics, 04.09.2021 05:10