How program a particilar algorithm ?

Michel Bonnifait mbonnifait at
Wed Nov 14 18:37:29 CET 2001

I think my question is more on programming than specifically on programming
with Python.
I want to generate all possible lists with elements from another one. For
example, from a list like [1,2,3,4] i want to program an algorithm which
will give this result
It's seems to me it should be a recursive programming answer but i can't
find it.
thanks in advance for your help !

More information about the Python-list mailing list