# Write a progam to calculate the tota price for car wash services.
# A base car wash is $10. A dictonary with each additional service and the corresponding cost has been provided.
#Two additional services can be selected. A '-' signifies an addiional 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 - $10
# Tire Shine - $2
# Wax - $3
# -----
# Total price: $15
services = {
'Air freshener': 1,
'Rain repllent': 2,
'Tire shine': 2,
'Wax': 3,
'Vacuum': 5
}
base_wash = 10
total = base_wash
service_choice1 = input()
service_choice2 = input()
print('ZyCar Wash')
print(f'Base car wash - ${base_wash}')
if service_choice1 != '-':
print(f'{service_choice1} - ${services[service_choice1]}')
total += services[service_choice1]
if service_choice2 != '-':
print(f'{service_choice2} - ${services[service_choice2]}')
total += services[service_choice2]
print('------')
print(f'Total price: ${total}')
To embed this project on your website, copy the following code and paste it into your website's HTML: