Question: (Heres the code I currently have. Need to have that result on the screen there. Anything to add to make that like that?) service_choice1 =

(Heres the code I currently have. Need to have that result on the screen there. Anything to add to make that like that?)

service_choice1 = input() service_choice2 = input()

services = {'Air freshener': 1, 'Rain repellent': 2,

'Tire shine': 2, 'Wax': 3, 'Vaccum': 5}

base_wash = 10

total = 10

print("ZyCar Wash")

print("Base car wash -- $10")

if service_choice1 in services.keys(): print(service_choice1+" -- $"+str(services[service_choice1])) total += services[service_choice1]

if service_choice2 in services.keys(): print(service_choice2+" -- $"+str(services[service_choice2])) total += services[service_choice2]

print("----")

print("Total price: $" + str(total))

(Heres the code I currently have. Need to have that result on

Input Vacuum Air freshener ZyCar Wash Base car wash Air freshener $10 Your output $1 --- Total price: $11 -- $10 ZyCar Wash Base car wash Vacuum $54 Air freshener -- Expected output $1 --- Total price: $16

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!