Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
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.
Create dictionaries to keep track of count the fatalities, injuries, accidents, and fatal accidents. Key
the dictionary by aircraft make and model.
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:
Serious Injuties:
Total Accidents :
Fatal Accidents :
AVIAT averages fatality every accidents.
AVIAT averages fatal accident out of every accidents.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started