zip or marry etc

Remco Gerlich scarblac-spamtrap at pino.selwerd.nl
Thu Jul 20 02:46:47 EDT 2000


Aahz Maruch wrote in comp.lang.python:
> In article <3976371F.210C2C21 at uab.edu>, Shae Erisson  <shapr at uab.edu> wrote:
> >
> >I already have a function that does this in my handy shaetools module,
> >for me it will always be interleave.
> 
> Oh, *that's* a good one.  All right, anyone else agree that "interleave"
> is the best suggestion we've had so far?

For the function that creates [1,2,3,4,5,6] of [1,3,5] and [2,4,6], yes.

But the proposal should construct [(1,2), (3,4), (5,6)], right?

-- 
Remco Gerlich,  scarblac at pino.selwerd.nl
Hi! I'm a .sig virus! Join the fun and copy me into yours!



More information about the Python-list mailing list