Question: Need some assitance with this python assignment: Here are some of the 1-800 numbers from the file that I am opening and reading from: 1-800-555-0000

Need some assitance with this python assignment:

Need some assitance with this python assignment: Here are some of the

Here are some of the 1-800 numbers from the file that I am opening and reading from:

1-800-555-0000 Rec. Disconnected. 110T. 1-800-555-0001 Rec. Sex Line. 1-800-555-0002 Rec. Sex Line. 1-800-555-0003 Rec. Sex Line. 1-800-555-0004 Operator. 1-800-555-0005 Co. Voice. "Hello may I help you?" 1-800-555-0006 Rec. Sex Line. 1-800-555-0007 Rec. Sex Line. 1-800-555-0008 Rec. Sex Line. 1-800-555-0009 Rec. Sex Line. 1-800-555-0010 Rec. Sex Line. 1-800-555-0011 Co. Rec. Winstar Customer Satisfaction Center 1-800-555-0012 Co. Voice. Something International. 1-800-555-0013 VMB. (*) 1-800-555-0014 Co. Voice. Something Court Reporters (?) 1-800-555-0015 Rec. Sex Line. 1-800-555-0016 Rec. Can't be completed as entered. 44 5 0 5.

Write a program to read through a file of 1-800' scam phone numbers and the result of making a call to the phone number (use the text file scam_phone_nos.txt; examine the text file to determine the format of the text on each line of the file). Create a new dictionary to create a data structure with the phone number as the dictionary key and the result of the call as the dictionary value. The program will ask the user to enter a phone number (that they believe is a scam) and print a message indicating the result of making a call to the phone number OR a message that the phone number could not be found in the scam phone number list (indicating that there is no history of 'scamming' of that phone number) Write a program to read through a file of 1-800' scam phone numbers and the result of making a call to the phone number (use the text file scam_phone_nos.txt; examine the text file to determine the format of the text on each line of the file). Create a new dictionary to create a data structure with the phone number as the dictionary key and the result of the call as the dictionary value. The program will ask the user to enter a phone number (that they believe is a scam) and print a message indicating the result of making a call to the phone number OR a message that the phone number could not be found in the scam phone number list (indicating that there is no history of 'scamming' of that phone number)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!