# Empty Dictionary dictionary = {} # Populated Dictionary dictionary = {'a': 1, 'b': 2, 'c': 3}
thisdict = { "key1" : "value1" "key2" : "value2" "key3" : "value3" "key4" : "value4" }
>>> L1 = ['a','b','c','d'] >>> L2 = [1,2,3,4] >>> d = dict(zip(L1,L2)) >>> d {'a': 1, 'b': 2, 'c': 3, 'd': 4}