Some thougts on cartesian products

Steven D'Aprano steve at REMOVETHIScyber.com.au
Mon Jan 23 11:43:19 CET 2006


On Mon, 23 Jan 2006 01:25:36 +0000, Bryan Olson wrote:

>> Sometimes I was missing such a feature.
>> 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?



-- 
Steven.




More information about the Python-list mailing list