Wrong calculation in itertools documentation

Oct. 6, 2012
10:42 p.m.
Hi, I'm reading docs.python.org/library/itertools.html @ permutations(). It writes: The number of items returned is n! / (n-r)! ... The number should be n! / r! Thanks, Sander De Graaf
4521
Age (days ago)
4547
Last active (days ago)
2 comments
2 participants
participants (2)
-
Andrew Svetlov
-
Sander De Graaf