Prompt the user for an automobile service output the users


I need help with this exercise which is designed to teach us how to use dict...

Automobile service cost (Python 3)

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

Ex:

Enter desired auto service: Oil change

You entered: Oil change

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

Ex:

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.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Prompt the user for an automobile service output the users
Reference No:- TGS02564113

Now Priced at $10 (50% Discount)

Recommended (91%)

Rated (4.3/5)