List transpose method
Tom Harris
TomH at optiscan.com
Thu Nov 1 16:42:23 EST 2001
Hi,
Suppose I have a list like ((1,2), (3,4), (5,6)). Can some functional guru
tell me a one liner to transpose this to the form ((1,3,5),(2,4,6))? I can
only come up with an ugly multiliner.
Tom Harris, Software Engineer
Optiscan Imaging, 15-17 Normanby Rd, Notting Hill, Melbourne, Vic 3168,
Australia
email tomh at optiscan.com ph +61 3 9538 3333 fax +61 3 9562 7742
This email may contain confidential information. If you have received this
email in error, please delete it immediately,and inform us of the mistake by
return email. Any form of reproduction, or further dissemination of this
email is strictly prohibited. Also, please note that opinions expressed in
this email are those of the author, and are not necessarily those of
Optiscan Pty Ltd.
More information about the Python-list
mailing list