Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I am working on the assignment, 4.9 Warm up: Automobile service cost (python 3)

Question

I am working on the assignment, 4.9 Warm up: Automobile service cost (python 3)
(1) Prompt the

user for an automobile service. Output the user’s input

(2) Output the price of the requested service

My code is:

autoServ = input(‘Enter desired auto service:n’)

print(‘You entered:’, autoServ)

if autoServ == ‘Oil change’:

  print(‘Cost of’,autoServ,’: $35′)

elif autoserv == ‘Tire rotation’:

  print(‘Cost of’,autoServ,’: $19′)

elif autoServ == ‘Car wash’:

  print(‘Cost of’,autoServ,’: $7′)

else:

  print(‘Error: Requested service is not recognized’)

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"