The American Tire Company has a data store (a dictionary). …
The American Tire Company has a data store (a dictionary). Below is the inventory of tires and price per tire: All-Season Tire $120.99 Winter Tire 150.50 Off-Road Tire 180.30 Touring Tire 130.40 Develop a program to display a menu and allow customers to enter the type of tire they would like to purchase, how many tires they want and then display to them the total price. The base price of the tires will come from your 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. Lastly, 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). Include at least one method of input validation. The program should accept input for multiple customers (looping). Save your program as Tiresxxxx where xxxxx is your last name. Points awarded as below: Use of dictionary 10 Loop execution 10 Awarding the largest discount 10 Input validation 10 Display appropriate messages 5 Comments 5 Total Points: 50
Read DetailsConsidering the examples we have done in class to show how P…
Considering the examples we have done in class to show how Python programs can be used to automate the manipulation of text files, file organization, web scraping, manipulating Excel spreadsheets and automating keystrokes and mouse clicks, which of those do you feel is the most useful task? Why?
Read DetailsCase Study: Kelechi is a 45-year-old male with a history of…
Case Study: Kelechi is a 45-year-old male with a history of hypertension who presents to your clinic with swelling in his legs and ankles. Laboratory tests show that he has significant proteinuria. His medial team suspects that damage to the glomerulus may be contributing to his symptoms. A follow-up biopsy reveals that the structure of the podocytes in his kidneys is compromised. If the podocytes are not functioning properly, which process is also compromised? Image Source: Link
Read Details