diff --git a/pricing.py b/pricing.py index 0a99fb1..446eda4 100644 --- a/pricing.py +++ b/pricing.py @@ -1,4 +1,4 @@ def total_price(unit_price, quantity): if quantity < 1: raise ValueError("Quantity must be positive") - return unit_price + quantity + return unit_price * quantity