Steven D'Aprano wrote: > Bryan Olson wrote: > > [Christoph Zwerschke had written:] >>>What I expect as the result is the "cartesian product" of the strings. >> >>There's no such thing; you'd have to define it first. Are duplicates >>significant? Order? > > > Google "cartesian product" and hit "I'm feeling lucky". > > Or go here: http://mathworld.wolfram.com/CartesianProduct.html > > Still think there is no such thing?
Uh, yes. The Cartesian product of two sets A and B (also called the product set, set direct product, or cross product) is defined to be the set of [...] All sets, no strings. What were you looking at? (I'm also happy to see someone agrees with my capitalization of "Cartesian".) -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list