Question: 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
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.
Name the source code file “Query.py”.
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
Step by Step Solution
3.39 Rating (155 Votes )
There are 3 Steps involved in it
To write a program that queries information from two files as described youll follow these steps Ill walk you through the process of developing a Pyth... View full answer
Get step-by-step solutions from verified subject matter experts
