Add Assignment 6 Python application and Jenkins pipeline
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
parent
4a67a09780
commit
041adfcda4
@@ -0,0 +1,4 @@
|
||||
def total_price(unit_price, quantity):
|
||||
if quantity < 1:
|
||||
raise ValueError("Quantity must be positive")
|
||||
return unit_price * quantity
|
||||
Reference in New Issue
Block a user