Evogoatml's picture
fix: backend now regular folder, not submodule
65464fc
raw
history blame contribute delete
347 Bytes
# app/tools/math.py
class Calculator:
def __init__(self):
self.spec = type("Spec", (), {"name": "calculator"})()
def add(self, a, b):
return a + b
def subtract(self, a, b):
return a - b
def multiply(self, a, b):
return a * b
def divide(self, a, b):
return a / b if b != 0 else None