12 Jun Sunday 16:00 Python Homework 06.09
Question 1:
A store is having a sale. They’re giving 10 percent off purchases of $10 or lower, and 20
percent off purchases of greater than $10. Write a program that asks the purchase price and
displays the discount (10% or 20%)
Sample Input:
Your Purchases: 14
Sample Output:
Congratulations! You got 20 % discount
Question 2: (optional)
Continue write program of Question 1, print out the final price after the discount
Sample Output:
The final price after 20 % discount is 11.2
Sorry, the comment form is closed at this time.