I have a python list , and I want to create a dictionary with word as a key and number as a value. what is the efficient way of doing this. Here is the my code:
['a',100,'b',200,'c',300,'d',400]
I want to convert it into dictionary like {'a':100,'b':200,'c':300,'d':400}
please help me.