Funda swallow — the house mark in royal blueFundatryfunda.com
BetaUnder construction. Questions are being reviewed by teachers — enjoy the free practice in the meantime.

← All Computer Science

Python basics · Exercise

Market day discount

A tuckshop gives a percentage discount on the whole bill. Write a function bill_after_discount(prices, discount_percent) that takes a list of item prices and a discount percentage, and returns the final bill rounded to 2 decimal places. For example, prices [10.00, 5.00] with 10% discount gives 13.50. Hint: Find the bill total first, then keep (100 - discount_percent) percent of it.

Funda swallow, in gold

Excellence or Nothing

Funda ZIMSEC is in review: every question is an original draft, checked by a Zimbabwean teacher before it counts. Funda is an independent study product and is not affiliated with ZIMSEC.