Loading…
Use assert statements to test function behavior.
Write test_calculate_discount() that tests the calculate_discount function with:
Downloading Python… (one-time, ~10 MB)
This runs entirely in your browser and is cached for next time.
Click "Submit" to check your answer