labactivity 4.9.1: Warm up: Automobile service cost (Python 3)

1) Prompt the user for an automobile service. Output the user’s input. (1 pt)


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

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


Cost of oil change: $35

The program should support the following services:

  • 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.

labactivity 4.9.1: Warm up: Automobile service cost (Python 3)