MCPcopy Create free account
hub / github.com/geekcomputers/Python / simple_calculator.py

File simple_calculator.py

simple_calculator/simple_calculator.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Define functions for each operation
2def add(x, y):
3 return x + y
4

Callers

nothing calls this directly

Calls 5

display_menuFunction · 0.85
addFunction · 0.70
subtractFunction · 0.70
multiplyFunction · 0.70
divideFunction · 0.70

Tested by

no test coverage detected