python nested dictionary list comprehension code example
Example: dict comprehension python
keys=['var1','var2','var3']
my_dict={key:np.zeros(10) for key in keys}
keys=['var1','var2','var3']
my_dict={key:np.zeros(10) for key in keys}