Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

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

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

Has the priority order been provided by someone else?

Answered: 1 week ago

Question

Compare the current team to the ideal team.

Answered: 1 week ago