Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pyhton please! 3 3 . 1 6 LAB: Car wash Instructor note: The skills required for this lab are covered in Chapter 1 1 -
Pyhton please! LAB: Car wash
Instructor note:
The skills required for this lab are covered in Chapter Lists and Dictionaries. To successfully complete this lab, review the content of Chapter as well as the preceding chapters, and complete the Challenge Activities associated.
Write a program to calculate the total price for car wash services. A base car wash is $ 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, according to the input order, along with the corresponding costs and then the total price for all car wash services.
Ex: If the input is:
Tire shine
Wax
the output is:
ZyCar Wash
Base car wash $
Tire shine $
Wax $
Total price: $
Ex: If the input is:
Rain repellent
the output is:
ZyCar Wash
Base car wash $
Rain repellent $
Total price: $
services 'Air freshener' : 'Rain repellent': 'Tire shine' : 'Wax' : 'Vacuum' :
basewash
total
servicechoice input
servicechoice input
Type your code here
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started