Compare commits
No commits in common. "17f26d2cabf77353fee22f6523081c99b581885c" and "0e1c14cb888f79612ea9ee7a09d61c5d31015b3c" have entirely different histories.
17f26d2cab
...
0e1c14cb88
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user