Hi,
I want to do something like this:
I have two lists:
list1 = range(6)
list2 = range(10,15)
i want a dictionary like this:
adict ={0:10,
1:11,
2:12,
3:13,
4:14,
5:15
}
I did the following:
list1 = range(6)
list2 = range(10,15)
adict = dict(zip(list1,list2))
i get :
TypeError: list objects are unhashable
it didn't work.. any help pls..