choose
from noon import choose
Source-derived function. Host availability is not inferred from this listing. See reference scope.
choose(n: int, k: int) -> intDecorators: lru_cache(maxsize=10)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
n | positional or keyword | int | No default |
k | positional or keyword | int | No default |
Return annotation: int
Return the binomial coefficient with the pinned bounded cache.