Question: How would i modify this program to include a data structure dictionary to store this breach data below. Alos to access the data structure to

How would i modify this program to include a data structure dictionary to store this breach data below. Alos to access the data structure to get the values I need. Below is the breach data and my code

How would i modify this program to include a data structure dictionary

to store this breach data below. Alos to access the data structure

print "To determine the cost of a data breach in your organization," print "please provide your industry and the number of records breached." print "(A breached record is one that contains personally identifiable" print "information, such as SSN, credit card, C, etc)." print print "When asked for 'industry', please indicate one of the following:" print "tCommunications" print "tRetail" print "tPharmaceutical" print "\tEducation" print industry - raw input ("Please indicate industry: ") if industry"Communications" records breachedraw input ("Enter the number of records breached: ") records breached int (records breached) cost 219 records breached print "InCost of a", records_breached, "records data breach in", industry, "is industry"Retail" records breachedraw input ("Enter the number of records breached: ") records breached int (records breached) cost125 records breached print "InCost of a", records_breached, "records data breach in", industry, ", cost, "." elif "is $", cost, "." elif industry =- "Pharmaceutical" records_breachedraw_input ("Enter the number of records breached: ") records breached int (records breached) cost 209 * records breached print "InCost of a", records breached, "records data breach in", industry, "is ", cost, " elif industry"Education" records_breachedraw_input ("Enter the number of records breached: ") records breached int (records breached) cost 259 records breached print "nCost of a", records breached, "records data breach in", industry, . Cost else print "Industry'", industry, "' not recognized." print "Please choose from Communications, Retail, Pharmaceutical or, Education

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!