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

Function multiply

simple_calculator.py:28–30  ·  view source on GitHub ↗

Return the product of x and y.

(x: float, y: float)

Source from the content-addressed store, hash-verified

26
27
28def multiply(x: float, y: float) -> float:
29 """Return the product of x and y."""
30 return x * y
31
32
33def divide(x: float, y: float) -> float:

Callers 1

calculatorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected