CODE IN PYTHON.
9.19 LAB: Contact list
A contact list is a place where you can store a specific contactwith other associated information such as a phone number, emailaddress, birthday, etc. Write a program that first takes in wordpairs that consist of a name and a phone number (both strings),separated by a comma. That list is followed by a name, and yourprogram should output the phone number associated with that name.Assume the search name is always in the list.
Ex: If the input is:
the output is:
CODE IN PYTHON. 9.19 LAB: Contact list A contact list is a place where you can store a specific contact with other assoc
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am