MCPcopy 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
10def 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
17def pi(n):

Callers 1

piFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected