Question: The file name Car_sales2 Write python code to read car2 file and displayed the following: 1. Display the names of the available car manufacturers 2.

 The file name Car_sales2 Write python code to read car2 file

The file name Car_sales2

and displayed the following: 1. Display the names of the available car

Write python code to read car2 file and displayed the following:

1. Display the names of the available car manufacturers 2. Calculate the total profits of each car manufacturer . 3. Calculate the total profits for all car manufacturers . 4. Calculate the average fuel efficiency of all car manufacturers 5. Display the car that are above and below average fuel efficiency as follows : Car 6. Compute the total number of launched cars in each month . 7. Plot the result obtained in 6 as follows

manufacturers 2. Calculate the total profits of each car manufacturer . 3.

Calculate the total profits for all car manufacturers . 4. Calculate the

6. Compute the total number of launched cars in each month. 7. Plot the result obtained in 6 as follows. HW1 Monthly car launch 13 Problem 12 A text file (Car_sale2.txt) with information about some cars is provided to you. This is a screenshot of the first lines with the header (1st line). Actually, the figure shown below is the screenshot of the same file in csv format. Verfecture Motel Wiene_ya_khe Where the tigrese Pre West an length Cure will telah mere 2002 34 * launched cars 10 A 18 11 21 TI 20 9 . TO THE INT 115 17 38 8 113 1 115 15 5 19 7 8 10 12 6 Month Objectives: 1. Display the names of the available car manufacturers 2. Calculate the total profits of each car manufacturer. 3. Calculate the total profits for all car manufacturers. 4. Calculate the average fuel efficiency of all car manufacturers. 5. Display the car that are above and below average fuel efficiency as follows: To do: 1. Write a Python program to achieve the goals mentioned above. 2 Divide your program into several functions. Each function is used to meet a specific purpose. Car by fuel effeciency > average 1 average |

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!