inverse of the zip function

Terry Reedy tjreedy at udel.edu
Tue Jul 29 17:18:20 EDT 2003


"David C. Fox" <davidcfox at post.harvard.edu> wrote in message
news:9sBVa.12998$o%2.6289 at sccrnsc02...
> Is there a function which takes a list of tuples and returns a list
of
> lists made up of the first element of each tuple, the second element
of
> each tuple, etc.?
>
> In other words, the the inverse of the built-in zip function?

Go to
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.python
enter 'zip inverse', and check search Python only.

TJR






More information about the Python-list mailing list