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 point-of-sale 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 $50, no discount is applied.
If the total cost is between $50 and $100(inclusive), a 10% discount is applied.
If the total cost is over $100, a 20% 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
Submit a python script in . py file Imagine

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!