Question: with python 3 Langu BETR Can't read the text? Switch theme 1 12. [Programming) Discounted Cost A boutique store is offering the following sale: 1.25%
Langu BETR Can't read the text? Switch theme 1 12. [Programming) Discounted Cost A boutique store is offering the following sale: 1.25% off any item priced at $100 or above 2.50% off any item priced at $200 or above 3. An additional $50 off at the register if the total after applying the previous discounts is $300 or above On a single line of standard input, you're given the list of full prices of Items a customer has in her shopping cart. Your task is to calculate the final sale price and print it to Standard Output Example Input 160 40 20 300 50 80 Output 410 Explanation The discounted prices are: 120 40 20 150 50 80, which add up to 460. Since that's greater than 300, we subtract an additional 50 to get 410. 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
