simple recursion help

Steven Bethard steven.bethard at
Sat Oct 23 22:16:33 CEST 2004

drs <drs <at>> writes:
> Hi,  I am trying to find all lists of length x with elements a, b, and c.

I'm not sure exactly what you're looking for here.  It would help if you gave an
example of some input and the output you want to produce.

Seems you might be looking for the permutations of a list.  If so, check the
ASPN Cookbook:

If this is not what you're looking for, please give us a little more info on the


More information about the Python-list mailing list