program.py Chez Target is having a big sale and all items are40% off. Prompt the user for thequantityand regularpriceof an item that is subject to7%sales tax. Useproperly named constantsfor the...

1 answer below »

program.py


Chez Target is having a big sale and all items are40% off. Prompt the user for thequantityand regularpriceof an item that is subject to7%sales tax. Useproperly named constantsfor the reduction percent and sales tax.Calculate and print:



  • thesale priceof the item after the discount.

  • thesubtotalbefore tax.

  • thesales tax

  • thetotalamount duefor the purchase.

Answered Same DayMay 20, 2021

Answer To: program.py Chez Target is having a big sale and all items are40% off. Prompt the user for...

Kshitij answered on May 21 2021
144 Votes
# Created by Pycharm
# Author: Kshitij Varshney (kshitijvarshne1)
# Date: 21-May-21
# Tim
e: 12:14 PM
# File: Gn.py
# Email: [email protected]
quantity,price= map(int,input("Enter the quantity and regular price \n").split())
afterDiscount= price- price*.4
salePrice =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here