From d6477b3df620383ca6215d2455f9e40d457e3513 Mon Sep 17 00:00:00 2001 From: "Codex (authorized Assignment 5 implementation)" Date: Fri, 9 Oct 2026 19:04:32 +0000 Subject: [PATCH] Demonstrate failing pricing calculation for issue #10 --- pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pricing.py b/pricing.py index 446eda4..0a99fb1 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