Question: Please use python 3. Write a program that queries information from two files. The first file contains the names and telephone numbers of a group

Please use python 3.

Write a program that queries information from two files. The first file contains the names and telephone numbers of a group of people. The second file contains the names and Social Security numbers of a group of people. The groups of people should overlap but need not be completely identical. Your program should ask the user for a telephone number and then print the name and Social Security number, if it can determine that information.

Sample run 1: Enter the phone number (7 digits, with a dash): 555-1234 555-1234 is associated with Bob Couldn't find a SSN for Bob

Sample run 2: Enter the phone number (7 digits, with a dash): 555-3456 555-3456 is associated with Mark Mark's SSN is 000000002

Two files:

Please use python 3. Write a program that queries information from two

files. The first file contains the names and telephone numbers of a

Thank you!

data1 - Notepad File Edit Format View Help Bob, 555-1234 Matthew, 555-2345 Mark, 555-3456 Luke, 000-1234 John, 000-2345

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!