choose

from noon import choose

Source-derived function. Host availability is not inferred from this listing. See reference scope.

choose(n: int, k: int) -> int

Decorators: lru_cache(maxsize=10)

ParameterKindAnnotationDefault
npositional or keywordintNo default
kpositional or keywordintNo default

Return annotation: int

Return the binomial coefficient with the pinned bounded cache.

Source declaration