Question: 3. Write a program that makes and modies a phonebook A. Create Version 1: 1. We assume that each person is associated with exactly one



3. Write a program that makes and modies a phonebook A. Create Version 1: 1. We assume that each person is associated with exactly one phone number 2. Your program should read in a .tsv le in which each line consists of: a person's name, a tab, and a phone number. I A sample le is provided as inrm 3. Your program should store this information as a dictionary such that the person's name is the key and the telephone number is the value. 4. Your program should give a user the option of adding additional names and phone numbers to the dictionary 5. Your program should collect the keys of the dictionary into a list and put them in alphabetical order 6. Then your program should write the entries into a new .tsv le, in alphabetical order. a. For example, dene a function: update_phonebookl (inle,outle) b. Run that function with mp1; phone book.tsv as inle and simple_phone_book_output.tsv as outle. c. After adding a few items, this version of mp1; phone book output.tsv is a possible output le assuming that a few telephone numbers were added (of course the version that you create may be a little different because you may be adding different phone numbers). \f\f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
