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 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until ‘esc' and show without narration options. b. click set up slide show, and then select the loop continuously until ‘esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
question
Computers and Technology, 23.06.2019 03:30
Many everyday occurrences can be represented as a binary bit. for example, a door is open or closed, the stove is on or off, and the fog is asleep or awake. could relationships be represented as a binary value? give example.
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Write a method that takes in an array of point2d objects, and then analyzes the dataset to find points that are close together. be sure to review the point2d api. in your method, if the distance between any pair of points is less than 10, display the distance and the (x,y)s of each point. for example, "the distance between (3,5) and (8,9) is 6.40312." the complete api for the point2d adt may be viewed at ~pf/sedgewick-wayne/algs4/documentation/point2d.html (links to an external site.)links to an external site.. try to write your program directly from the api - do not review the adt's source code.
Answers: 1
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, 26.03.2021 22:40
question
Mathematics, 26.03.2021 22:40
Questions on the website: 13722359