What is a good way to get different dictionaries from already existing dictionaries?
For example i have this:
x = {"x1":1,"x2":2,"x3":3}
y = {"y1":1,"y2":2,"y3":3}
z = {"z1":1,"z2":2,"z3":3}
And i want this:
dict1 = {"x1":1,"y1":1,"z1":1}
dict2 = {"x2":2,"y2":2,"z2":2}
dict3 = {"x3":3,"y3":3,"z3":3}
Assuming i have more data than that, i want an efficient fast method like a loop.