[Tutor] Is this a job for zip(), or some other way?

R. Alan Monroe amonroe at columbus.rr.com
Thu Mar 25 19:37:50 EST 2004


>  >>> apply(zip, [ ('bob', 24, 457), ('mike', 20, 4567), ('steve', 30, 576)])
> [('bob', 'mike', 'steve'), (24, 20, 30), (457, 4567, 576)]

Slick, exactly what I had in mind.

Alan




More information about the Tutor mailing list