Question: Submit a python script in . py file Imagine you're working on a point - of - sale system for a retail store. The store
Submit a python script in py file
Imagine you're working on a pointofsale system for a retail store. The store offers discounts
based on the customer's total purchase cost. The discount rules are as follows:
If the total cost is less than $ no discount is applied.
If the total cost is between $ and $inclusive a discount is applied.
If the total cost is over $ a discount is applied.
Write a Python program that:
Takes the total purchase cost as input.
Applies the correct discount based on the above rules.
Output the final cost after applying the discount
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
