Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions