Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
def
multiply(x: float, y: float) -> float:
29
""
"Return the product of x and y."
""
30
return
x * y
31
32
33
def
divide(x: float, y: float) -> float:
Callers
1
calculator
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected