8.25 LAB: Car wash
Write a program to calculate the total price for car wash services. A base car wash is $10. A dictionary with each additional service and the corresponding cost has been provided. Two additional services can be selected. A '-' signifies an additional service was not selected. Output all selected services along with the corresponding costs and then the total price for all car wash services.
Ex: If the input is:
the output is:
services = { 'Air freshener' : 1 , 'Rain repellent': 2, 'Tire shine' : 2, 'Wax' : 3, 'Vacuum' : 5 }base_wash = 10total = 0
service_choice1 = input()service_choice2 = input()
''' Type your code here '''
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here