Possible Duplicate:
how to convert two lists into a dictionary (one list is the keys and the other is the values)?
if I have a list of integer:
L=[1,2,3,4]
and I have a list of tuple list:
K=[('a','b'),('c','d'),('e','f'),('g','i')]
how can I make a list of dict where the key is item in K, and the value is integer in L,where each integer is correspond to the item in K
d={('a','b'):1,('c','d'):2,('e','f'):3,('g','i'):4}