MCPcopy Create free account
hub / github.com/geekcomputers/Python / subtract

Function subtract

simple_calculator.py:23–25  ·  view source on GitHub ↗

Return the difference of x and y.

(x: float, y: float)

Source from the content-addressed store, hash-verified

21
22
23def subtract(x: float, y: float) -> float:
24 """Return the difference of x and y."""
25 return x - y
26
27
28def multiply(x: float, y: float) -> float:

Callers 1

calculatorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected