[issue35431] Add a function for computing binomial coefficients to the math module

Mark Dickinson report at bugs.python.org
Thu Dec 13 03:38:30 EST 2018


Mark Dickinson <dickinsm at gmail.com> added the comment:

[Tim]

> My two cents:
> 
> - Spell it comb(n, k).
> - TypeError if args aren't ints.
> - ValueError if not 0 <= k <= n.

+1 to all of this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35431>
_______________________________________


More information about the Python-bugs-list mailing list