[Tutor] how to compare elements of 2 lists

Kent Johnson kent37 at tds.net
Wed Dec 26 02:00:57 CET 2007


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


More information about the Tutor mailing list