Question: Write a Python program that conforms to the specifications below: 1 . Read the aviation.csv file ( I have the . csv file, just need

Write a Python program that conforms to the specifications below:
1. Read the aviation.csv file (I have the .csv file, just need the code to extract it and make it into the format examples below.)
2. Create dictionaries to keep track of (count) the fatalities, injuries, accidents, and fatal accidents. Key
the dictionary by aircraft make and model.
3. Prompt the user to enter an aircraft make and output the items listed below for the selected make.
o The number of fatalities for each model within the make
o The number of injuries for each model within the make
o The number of accidents for each model within the make
o The number of fatal accidents for each model within the make
o The total number of fatalities for the make
o The total number of injuries for the make
o The total number of accidents for the make
o The total number of fatal accidents for the make
o The fatality ratio and associate percentage for the make
o The fatal accident ratio and associated percentage for the make* Format the output of your program as shown in the examples on the following pages. Example:
Enter a make of aircraft: AVIAT
AVIAT
Fatalities: ,19
Serious Injuties: 4
Total Accidents : 136
Fatal Accidents : 14
AVIAT averages 1 fatality every 7.16 accidents. (13.97%)
AVIAT averages 1 fatal accident out of every 9.71 accidents. (10.29%)
 Write a Python program that conforms to the specifications below: 1.

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!