Compare commits

..

No commits in common. "be0f3cb59bea57465cd1be3b332fb094fea1e908" and "50416b506479ce17ebc7e24f82c564d22ce631c3" have entirely different histories.

View File

@ -10,4 +10,4 @@ def apply_discount(subtotal: float, percent: float) -> float:
if percent < 0 or percent > 100:
raise ValueError("percent must be between 0 and 100")
return round(subtotal * (1 - percent / 100), 2)
return round(subtotal * (1 - percent / 10), 2)