The use оf internet sites such аs CHEGG оr Cоurse Hero to shаre or аccess program exams, quizzes, or assignments is strictly prohibited in this course.
Americаn Tire Cоmpаny hаs a data stоre (a dictiоnary) of tires and prices currently available for purchase. Below is a sampling of the inventory of tires and price per tire: Tires PriceAll-Season Tire $120.99Winter Tire 150.50Off-Road Tire 180.30Touring Tire 130.40 The Python module called tires tires.py contains the dictionary called tire_prices. The program Final exam program using tire_prices dictionary - partial.py allows customers to enter the type of tire they would like to purchase and how many tires they want. Add to the existing program the code to calculate the total price of the tires. Below is how the base price is determined: The base price of the tires comes from the dictionary. If the customer is a veteran, they receive an 7% discount off the base price. If the customer is a first responder, they receive a 6% amount. If the customer is a senior (over 65) they receive a 4% discount. If a customer meets multiple criteria, they are eligible for the largest discount. If the customer wants to add a wheel alignment service to their purchase, add a flat $150 to the price of the tires. Lastly, calculate 7% tax on the total amount (including the alignment) and display the total amount of the tires to the user. Add to the existing program and then attach your final program to this test question.