MCPcopy Create free account
hub / github.com/geekcomputers/Python / slice

Function slice

communication/socket_conn.py:11–15  ·  view source on GitHub ↗
(mink, maxk)

Source from the content-addressed store, hash-verified

9
10
11def slice(mink, maxk):
12 s = 0.0
13 for k in range(mink, maxk):
14 s += 1.0 / (2 * k + 1) / (2 * k + 1)
15 return s
16
17
18def pi(n):

Callers 1

piFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected