Question: PYTHON CODE PLEASE 4.20 LAB: Warm up: Automobile service cost (1) Prompt the user for an automobile service. Output the user's input. (1 pt) Ex:

PYTHON CODE PLEASE

4.20 LAB: Warm up: Automobile service cost

(1) Prompt the user for an automobile service. Output the user's input. (1 pt) Ex:

Enter desired auto service: Oil change You entered: Oil change 

(2) Output the price of the requested service. (4 pts) Ex:

Enter desired auto service: Oil change You entered: Oil change Cost of oil change: $35 

The program should support the following services (all integers):

  • Oil change -- $35
  • Tire rotation -- $19
  • Car wash -- $7

If the user enters a service that is not listed above, then output the following error message:

Error: Requested service is not recognized 

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!