inverse of the zip function

David C. Fox davidcfox at post.harvard.edu
Tue Jul 29 23:13:41 CEST 2003


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?

David





More information about the Python-list mailing list