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....



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:


Tire shine Wax

the output is:


ZyCar Wash Base car wash -- $10 Tire shine -- $2 Wax -- $3 ---- Total price: $15

Ex: If the input is:


Rain repellent -

the output is:


ZyCar Wash Base car wash -- $10 Rain repellent -- $2 ---- Total price: $12


Use Python, please.


LAB<br>8.25.1: LAB: Car wash<br>0/ 10<br>АCTIVITY<br>main.py<br>Load default template.<br>1 services ={ 'Air freshener' : 1, 'Rain repellent': 2, 'Tire shine' : 2, 'Wax' : 3, 'Vacuum' : 5 }<br>2 base wash = 10<br>3 total = e<br>4<br>5 service_choice1 = input()<br>6 service_choice2 = input()<br>7<br>8.<br>Type your code here '|<br>

Extracted text: LAB 8.25.1: LAB: Car wash 0/ 10 АCTIVITY main.py Load default template. 1 services ={ 'Air freshener' : 1, 'Rain repellent': 2, 'Tire shine' : 2, 'Wax' : 3, 'Vacuum' : 5 } 2 base wash = 10 3 total = e 4 5 service_choice1 = input() 6 service_choice2 = input() 7 8. Type your code here '|

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here