I didn't think of that.  But for an arbitrary 2D list, you need the asterisk 
syntax.

On Tuesday 25 December 2007 19:00, you wrote:
> Chris Fuller wrote:
> >>>> zip(*[a,b])
> >
> > [(4, 8), (3, 6), (2, 3), (6, 3), (7, 2), (9, 7)]
>
> This can be just zip(a, b)
>
> Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to