Files
Tom Hu d37ce25523
Workflow for Codecov Action / run (macos-latest) (push) Waiting to run
Workflow for Codecov Action / run (windows-latest) (push) Waiting to run
Workflow for Codecov Action / run-macos-latest-xlarge (push) Waiting to run
Workflow for Codecov Action / run-container (push) Failing after 5s
Workflow for Codecov Action / run-alpine-success (push) Failing after 5s
Workflow for Codecov Action / run-alpine-missing-deps (push) Failing after 7s
Workflow for Codecov Action / run (ubuntu-latest) (push) Failing after 9s
Workflow for Codecov Action / run-alpine-partial-deps (push) Failing after 7s
fix: smiles
2026-08-04 13:16:56 -07:00

19 lines
299 B
Python

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
def smile():
return ':))'