subject

Write a program to calculate the total price for car wash services. A base car was 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:Tire shineWaxthe output is:ZyCar WashBase car wash -- $10Tire shine -- $2Wax -- $3Total price: $15Ex: If the input is:Rain repellent-the output is:ZyCar WashBase car wash -- $10Rain repellent -- $2Total price: $12services = { 'Air freshener' : 1 , 'Rain repellent': 2, 'Tire shine' : 2, 'Wax' : 3, 'Vacuum' : 5 }base_wash = 10total = 0service_choice1 = input()service_choice2 = input()''' Type your code here '''

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:10
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
question
Computers and Technology, 24.06.2019 00:40
What social factors affect your health
Answers: 3
question
Computers and Technology, 24.06.2019 02:50
Be sure to answer all parts. synthesize the following compound from benzene. a. b. c. d. e. f. reaction [1] conditions: a b c d e f reaction [1] product: draw structure reaction [2] conditions: a b c d e f reaction [2] product: draw structure reaction [3] conditions: a b c d e f reaction [3] product:
Answers: 3
You know the right answer?
Write a program to calculate the total price for car wash services. A base car was is $10. A diction...
Questions
question
Mathematics, 27.08.2021 23:50
Questions on the website: 13722360