how to separate a list into two lists?

Gelonida N gelonida at gmail.com
Sun Aug 7 13:11:32 EDT 2011


On 08/07/2011 02:07 AM, Steven D'Aprano wrote:
> 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.
> 


Arg typo:

I meant of course zip


> 
> 





More information about the Python-list mailing list