Question: Q1: Write a program Lab01_Q1.py to input the purchase amount and define the discount and sales tax rates, (discount rate =%20 and sales tax =%15

Q1: Write a program Lab01_Q1.py to input the purchase amount and define the discount and sales tax rates, (discount rate =%20 and sales tax =%15 ) the program should print the following: The amount of the discount The discounted amount The amount of sales tax The amount to be paid Sample Run: Enter purchase amount (in dollars) : 1000 Amount discount: \$200.0 Price after discount: $800.0 Sales Tax: \$ 120.0 Amount due: $920.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
