Question: Python Assignment 10% - 20% - 30% Sale Write an application that randomly determines whether a customer will receive a discount of 10%, 20%, or

Python Assignment

10% - 20% - 30% Sale

Write an application that randomly determines whether a customer will receive a discount of 10%, 20%, or 30%

Use comments to describe your code

Ask the customer to enter the item's original cost.

A random generator will determine which of the three discounts, 10%, 20%, or 30%, to apply and

apply the appropriate discount to the original cost,

then display the original price, the discount percent to be applied,

the discounted price,

and the amount of savings (in dollars and cents) compared to the original price.

Make sure your output is properly labeled.

Read the instructions carefully to receive maximum credit.

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 Databases Questions!