I don't know why this program doesn't run, but if you know, please tell me.
-thanks
#adds extra fees to the base price of a car.
print(
"""
Car Salesman
Totals the base price of a car with all other fees.
Please enter the requested information, and don't include
change.
"""
)
name = input("What kind of car is it?")
base_price = input("What is the base price?")
tax = base_price / 25
print("Tax: $", tax)
license_fee = base_price // 50
print("The license fee: $", license_fee)
maintenance = 45
print("The maintenance fee: $", maintenance)
insurance = 100
print("The insurance: $", insurance)
total = base_price + tax + license_fee + maintenance + insurance
print("After tax, the license fee, the maintenance fee, and the "
"insurance fee, the ", name, "costs $", total, ".")
input("\n\nPress enter to exit.")
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor