Question: I need this in PYTHON please. Thank you. If you can please provide screenshot of the execution. If that cant be provided its okay. Write
I need this in PYTHON please. Thank you. If you can please provide screenshot of the execution. If that cant be provided its okay.
Write a telephone lookup program. Read a data set of names and telephone numbers from a file that contains the numbers in random order. Handle lookups by name and also reverse lookups by phone number. Use a binary search for both lookups. Use the following data set:
Bob|555-1234
Joe|555-2345
John|555-3456
Luke|555-4567
Mark|555-5678
Matthew|555-6789
The program should prompt the user as follows:
L)ookup Name, Lookup N)umber or Q)uit?
Enter the name:
Or
Enter the Number:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
