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

kellerfuchs report at bugs.python.org
Mon Jan 28 06:48:41 EST 2019


kellerfuchs <kellerfuchs at hashbang.sh> added the comment:

So, I rebased Yash's and my branches, and merged them together.  The result is still in PR#11018.

This involved a few changes, which seem to reflect the consensus here:
- raise ValueError if k>n ;
- rename the function to math.combinations.

----------

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


More information about the Python-bugs-list mailing list