A shopkeeper announces two successive discounts 20% and 10% on purchasing of goods on the marked price. write a program to input marked price and calculate the selling price of an article.
Answers
Answered by
2
Answer:
think Three Hundred as discount is 30%
Explanation:
Answered by
2
def apply_discount(p):
initial_discount = p - (p * .2)
return initial_discount - (initial_discount *.1)
p = float(input("enter p: "))
print(f"selling price: {apply_discount(p)}")
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Political Science,
2 months ago
Sociology,
4 months ago
Biology,
10 months ago
Hindi,
10 months ago
Environmental Sciences,
10 months ago