Question: PYTHON: 1 Create a program that asks for the purchase price of three different items. The program will assign the total cost of all the

PYTHON:

PYTHON: 1 Create a program that asks for the purchase price of

1 Create a program that asks for the purchase price of three different items. The program will assign the total cost of all the items to the variable **subtotal**. The program must then use that **subtotal** variable to calculate a sales tax of 7 percent, which is assigned to the variable **sales_tax**. These variables are then used to output a sentence that gives the user the total cost of the items without tax, the sales tax amount, and the final total amount - all displayed in proper dollar format, like this example: 2. 3 **Your subtotal is $37.48, your tax is $2.62, your total is $40.10**|

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!