Question: PYTHON! Define a function called calculateDiscount that has two parameters, price and percent. price represents the full price of an item, and percent represents the
PYTHON!
Define a function called calculateDiscount that has two parameters, price and percent. price represents the full price of an item, and percent represents the discount percentage as an integer. The function will print the discounted price. For example, if the price were 80 and the discount percentage 25, the discounted price would be 60. (25% off of 80)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
