Files
CI-CD-TestingRepo/calculator.py
T
ksan 4ee1c810c1
CI / test (push) Successful in 44s
first commit
2026-05-31 13:27:47 +02:00

15 lines
210 B
Python

def add(a, b):
return a + b
def subtract(a, b):
return a - b
def multiply(a, b):
return a * b
def divide(a, b):
if b == 0:
raise ValueError("Cannot divide by zero")
return a / b