Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ binomial_coefficient.py
File
binomial_coefficient.py
maths/binomial_coefficient.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
binomial_coefficient(n: int, r: int) -> int:
2
""
"
3
Find binomial coefficient using Pascal&
#x27;s triangle.
4
Callers
nothing calls this directly
Calls
1
binomial_coefficient
Function · 0.70
Tested by
no test coverage detected