how to separate a list into two lists?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Aug 6 20:07:23 EDT 2011


Gelonida N wrote:

> Asuming you [Bud] are not an alias of Jack Smith and assuming you did 
> not see Jack's thread asking the same question:

That's a strange thing to say when Bud *answered* Jack's question.
 

> x,y = unzip(*L)

What's unzip? It doesn't exist in any version of Python between 1.5 and 3.3
that I have.



-- 
Steven




More information about the Python-list mailing list