diff --git a/pricing.py b/pricing.py index 32ec2d1..c6d18b6 100644 --- a/pricing.py +++ b/pricing.py @@ -5,4 +5,4 @@ def total_price(unit_price, quantity): """Return the total price for `quantity` items at `unit_price` each.""" if quantity < 1: raise ValueError("Quantity must be positive") - return unit_price * quantity + return unit_price + quantity