Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ flow_rate
Function
flow_rate
example_code/item_035.py:118–119 ·
view source on GitHub ↗
(weight_diff, time_diff)
Source
from the content-addressed store, hash-verified
116
117
print(
"Example 9"
)
118
def
flow_rate(weight_diff, time_diff):
119
return
weight_diff / time_diff
120
121
weight_a = 2.5
122
weight_b = 3
Callers
1
item_035.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected