Write discounted(price, pct=10) returning the price after a pct% discount, rounded to 2 decimals. Without a pct, the discount is 10%.
discounted(500) → 450
discounted(999, 25) → 749.25
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.