Convert [key1,val1,key2,val2] to a dict?
Let's say I have a list a in Python whose entries conveniently map to a dictionary. Each even element represents the key to the dictionary, and the following odd element is the value for example, ...