convert generator object to a dictionary,{i: (i * 2) for i in range(10)}