From 02d31699aaf13b3e4d18865d34c16a2bb46135c6 Mon Sep 17 00:00:00 2001 From: "Codex (authorized Assignment 5 implementation)" Date: Fri, 9 Oct 2026 19:05:51 +0000 Subject: [PATCH] Repair pricing multiplication and restore passing CI for #10 --- pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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