Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/HelloZeroNet/ZeroNet
/ avg
Function
avg
src/util/helper.py:265–269 ·
view source on GitHub ↗
(items)
Source
from the content-addressed store, hash-verified
263
264
265
def
avg(items):
266
if
len(items) > 0:
267
return
sum(items) / len(items)
268
else
:
269
return
0
270
271
272
def
isIp(ip):
Callers
nothing calls this directly
Calls
1
sum
Function · 0.85
Tested by
no test coverage detected