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:
Thank you!
data1 - Notepad File Edit Format View Help Bob, 555-1234 Matthew, 555-2345 Mark, 555-3456 Luke, 000-1234 John, 000-2345Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started