Question: Add a comment that indicates if the next section is output, input, or processing. Ask the user to enter the number of books, DVDs ,
Add a comment that indicates if the next section is output, input, or processing.
Ask the user to enter the number of books, DVDs and games being purchased.
Add a comment that indicates if the next section is output, input, or processing.
Calculate the total before tax.
Calculate the amount of sales tax on the total.
Calculate the total after tax.
Add a comment that indicates if the next section is output, input, or processing.
Display the total before tax, the sales tax, and the total after tax.
NOTE: Your program code should implement these steps IN THE SAME ORDER as listed above.
All monetary values should be output with a precision of digits after the decimal point. You should use what was presented in this lesson to achieve that result, that is use fstrings. Points will be deducted otherwise.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
