Creating unique combinations from lists

"Martin v. Löwis" martin at v.loewis.de
Wed Jan 16 14:54:27 EST 2008


> I could do nested for ... in loops, but was looking for a Pythonic way
> to do this.  Ideas?

I find nested for loops very Pythonic. Explicit is better than implicit,
and simple is better than complex.

Regards,
Martin



More information about the Python-list mailing list