[Tutor] [Q] list and loop

alan.gauld@bt.com alan.gauld@bt.com
Tue, 27 Nov 2001 17:23:59 -0000


> I have two lists, list1 = [ 1, 2, 3, 4, 5, .... 10] and list 
> = [ 10, 20, 30,
> 40, .., 100]. I want to create another list out of these two 
> lists such that
> list3 = [ (1,10), (2,20), (3,30), ..., (10, 100)].

list3 = map(None,list1,list2)

Alan G.