On Wed, Jan 7, 2009 at 9:48 PM, Raymond Hettinger <pyt...@rcn.com> wrote: > Does anyone here have access to Mathematica? > I would like to know what it returns for: > > In[1]:= Permutations({a, b, c}, {5}) > > Knowing this will help resolve a feature request > for itertools.permutations() and friends.
I assume you mean with square brackets: Mathematica 6.0 for Linux x86 (32-bit) Copyright 1988-2008 Wolfram Research, Inc. In[1]:= Permutations[{a, b, c}, {5}] Out[1]= {} Fredrik _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com