Question: Create a Python program that ask the user to input the Car Price and Engine Capacity(cc) for n cars and store them in two

Create a Python program that ask the user to input the Car 

Create a Python program that ask the user to input the Car Price and Engine Capacity(cc) for n cars and store them in two different lists. The sample input data is shown below. Car Price = 5000, 5500, 4850, 6500, 5850, 7000, 7650, 7900, 8300, 9500 Engine Capacity 1.3, 2, 1.6, 2.3, 2.6, 3, 3.6, 3.7, 4, 4.4 Your program has to do the following tasks. a) Calculate and display the insurance premium for each car according to the following table. Store the insurance premium in a List. Car Price car price 6000 5% of car price 7% of Car price More than 3 cc b) Calculate and display the Onroad Price for each car using the formula shown below. Store it in a list. Onroad Price = Car price + insurance premium c) Calculate and display average Onroad Price. d) Calculate and display number of cars with Onroad Price

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Python program that accomplishes ... View full answer

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 Programming Questions!