I want to change values I have stored in a dictionary of dictionaries.
This is the code I tried to implement. The problem is p remains the same, and I'm not sure how to update p.
j = {'a':1.0}
k = {'c':3.0}
p = {'e':j,'f':k}
for n in p.itervalues():
print n
n = {key:value/3.0 for key, value in n.items()}
print n
print p