[Python-ideas] Introduce `start=1` argument to `math.factorial`
Ram Rachum
ram.rachum at gmail.com
Thu Sep 18 01:02:44 CEST 2014
I suggest introducing a `start=1` argument to `math.factorial`, so the
result would be (the C-optimized version of) `product(range(start, x+1),
start=1)`. This'll be useful for combinatorical calculations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140917/a717b3fd/attachment.html>
More information about the Python-ideas
mailing list