Introduce `start=1` argument to `math.factorial`
17 Sep
2014
17 Sep
'14
6:02 p.m.
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.
3477
Age (days ago)
3480
Last active (days ago)
13 comments
11 participants
participants (11)
-
Andrew Barnert
-
Antoine Pitrou
-
Clint Hepner
-
Georg Brandl
-
Ian Cordasco
-
Nick Coghlan
-
Paul Moore
-
Petr Viktorin
-
Ram Rachum
-
Steven D'Aprano
-
Terry Reedy