variable X procuct - [(x,y) for x in list1 for y in list2]

Kragen Sitaker kragen at
Sun Jun 2 21:29:43 EDT 2002

John La Rooy <larooy at> writes:
> Perhaps the translation is correct, but the example you give is a
> cartesian product, not a cross product.  From my algebra book...

Cartesian products are often called cross products.

More information about the Python-list mailing list