From ab0bcc25f30cd986b1eae7cd685ab3b8cf480ee0 Mon Sep 17 00:00:00 2001 From: Samah Keshiro Date: Fri, 23 Oct 2026 22:32:31 -0400 Subject: [PATCH] Demonstrate failing CI check: use addition in total_price (#11) --- pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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