fix: update to use local app/ dir (#1872)

* fix: update to use local app/ dir

* fix: update if statement on macos xlarge
This commit is contained in:
Tom Hu
2025-09-04 16:18:57 +02:00
committed by GitHub
parent 206148c4b8
commit 18fdacf0ce
6 changed files with 55 additions and 5 deletions

15
app/calculator.py Normal file
View File

@@ -0,0 +1,15 @@
class Calculator:
def add(x, y):
return x + y
def subtract(x, y):
return x - y
def multiply(x, y):
return x * y
def divide(x, y):
if y == 0:
return 'Cannot divide by 0'
return x * 1.0 / y