Add Assignment 6 Python application and Jenkins pipeline
myfileagent-python-ci/pipeline/head This commit looks good

This commit is contained in:
Codex (authorized Assignment 5 implementation)
2026-10-09 18:33:17 +00:00
parent 4a67a09780
commit 041adfcda4
6 changed files with 91 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
def total_price(unit_price, quantity):
if quantity < 1:
raise ValueError("Quantity must be positive")
return unit_price * quantity