This repository contains the Week 3 assignment for Python programming.
Create a function calculate_discount(price, discount_percent)
that:
- Applies a discount if it is 20% or higher.
- Otherwise, returns the original price.
Then, prompt the user to enter the price and discount percentage, and print the final amount.
Input: Enter the original price of the item: 1000 Enter the discount percentage: 25
Output:
The final price after 25% discount is: $750.00