Christoph Zwerschke wrote:

> Sometimes I was missing such a feature.
> What I expect as the result is the "cartesian product" of the strings.

I've been thinking of it as well. I'd like it for lists too:

>> range(3)**2
[(0,0), (0,1), (0,2), (1,0), (1,1), (1,2), (2,0), (2,1), (2,2)]

-- 
Giovanni Bajo


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to