BuildlyBuildly
DashboardExercisesProfileHelp
Data Science/Module 1: Python Programming/Functions2/3
Exercise·5 min·10 XP

Discounted Price With Tax

Write discounted_price(price, discount_percent=10, tax_percent=5) that applies the discount first, then adds tax on the discounted amount. Both percentages have defaults.

Previous
Clamp a Value
Next
Unique Words in a Sentence