[Tutor] Joining multiple lists

alan.gauld@bt.com alan.gauld@bt.com
Thu, 24 May 2001 17:27:12 +0100


> close to what you'll want.  To fix those extra parens, I 
> think that Alan
> Gauld's tutorial mentions a way of "flattening" anything that 
> looks like:
> 
>     (1, (2, (3, 4))) ===>flattening===>  (1, 2, 3, 4)
> 
> but I can't find the page.

Its the recursion topic.

But that won't give himn what he asked for which was a set 
of tuples for each permutation of his lists. I think that 
really needs the nested loops approach.

Alan G