Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ slice
Function
slice
communication/pipe.py:10–14 ·
view source on GitHub ↗
(mink, maxk)
Source
from the content-addressed store, hash-verified
8
9
10
def
slice(mink, maxk):
11
s = 0.0
12
for
k in range(mink, maxk):
13
s += 1.0 / (2 * k + 1) / (2 * k + 1)
14
return
s
15
16
17
def
pi(n):
Callers
1
pi
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected