[issue35431] Add a function for computing binomial coefficients to the math module
Mark Dickinson
report at bugs.python.org
Sun Jun 2 03:41:56 EDT 2019
Mark Dickinson <dickinsm at gmail.com> added the comment:
@David Ratcliffe
> the sum of the first n positive integers is binomial(n+1, 2), and the formula should still work if n is zero.
I agree that's a convincing use-case.
Can you think of any practical uses for allowing negative `k`? I can't.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35431>
_______________________________________
More information about the Python-bugs-list
mailing list