I need to map one list onto another.l1 is a list of lists of lists and l2 is a list of numbers.I want elements of l1 to be the keys and elements of l2 as the values.I tried to convert l1 into a tuple and then mapping but it doesnt work.Pleeeez help!!
#below is what i want to do
d = { tuple([tuple(['a': 1,'b': 2]),tuple(['a': 4,'b': 3])]),tuple(tuple(['a': 2,'c': 2]),tuple(['a': 1,'c': 3])]) : 0.4}
#a simpler example
d1 = {tuple(['a': 1,'b': 2]) : 0.4}
None of the above works :(