Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ binomial_coef
Function
binomial_coef
Binary Coefficients.py:18–20 ·
view source on GitHub ↗
(n, k)
Source
from the content-addressed store, hash-verified
16
17
18
def
binomial_coef(n, k):
19
pascalTriangle = pascal_triangle(n)
20
return
pascalTriangle[n][k - 1]
Callers
nothing calls this directly
Calls
1
pascal_triangle
Function · 0.85
Tested by
no test coverage detected