Computers and Technology

Write a program that keeps names and id number in a dictionary as key-value pairs. The program should display a menu that lets the user look up a person’s id number, add a new name and id number, change an existing id number, and delete an existing name and id number. The program should bindthe dictionary and save it to a file when the user exits the program. Each time the program starts, it should retrieve the dictionary from the file and unbindit. The program should run continuously until the user selects option exit from the menu.(hints: see Python pickle module)

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, vane1161
Aletter or menu command that starts an action when the user presses the designated letter and the alt key together is called what?
Answers: 1
image
Computers and Technology, 22.06.2019 06:00, wbrandi118
What role do chromosomes play in inheritance?
Answers: 1
image
Computers and Technology, 22.06.2019 17:40, math31343
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
Answers: 1
image
Computers and Technology, 22.06.2019 18:00, ladyree8721
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
Do you know the correct answer?
Write a program that keeps names and id number in a dictionary as key-value pairs. The program shoul...

Questions in other subjects:

Konu
Mathematics, 05.12.2020 01:00
Konu
English, 05.12.2020 01:00
Konu
Social Studies, 05.12.2020 01:00