Compare commits

..

No commits in common. "17f26d2cabf77353fee22f6523081c99b581885c" and "0e1c14cb888f79612ea9ee7a09d61c5d31015b3c" 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)