Write a program that queries information from two files. The first file contains the names and telephone
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 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
Database Systems A Practical Approach to Design Implementation and Management
ISBN: 978-0132943260
6th Edition Global
Authors: Thomas Connolly, Carolyn Begg