Fix pricing multiplication and document clean CI run for issue #8
startup-product-ci/pipeline/pr-main This commit looks good
startup-product-ci/pipeline/head This commit looks good

This commit is contained in:
2026-10-21 23:11:38 +00:00
parent 35605c33b9
commit ed8684a289
2 changed files with 20 additions and 2 deletions
+1 -1
View File
@@ -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