Question: Do this in python. Calculates the total including sales tax (8.875%) of a shopping trip. Create a total variable and a tax variable. Total the

Do this in python. Calculates the total including sales tax (8.875%) of a shopping trip. Create a total variable and a tax variable. Total the items calculated with tax. Be sure to test if the price is above zero. Continues to prompt the user to enter prices until they are done. Hint: enter a while loop until the user types done at the prompt. Hint: Since we don't know how many times the loop will execute, it makes the most sense to use a 'while' loop. You will need to prompt the user in 2 different places. Once outside of the loop and again as the last line inside the while loop.

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!