Assignment 6: enforce Python CI before merging #11

Merged
glovely merged 5 commits from assignment6/python-ci into main 2026-10-09 19:14:45 +00:00
Showing only changes of commit d6477b3df6 - Show all commits
+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