What is the most appropriate python data structure to keep the result of pairwise computations over 2 dictionaries?
<p>I have 2 dictionaries with long as the type of the values. I want to apply some computation at every possible combination of 2-values from the 2 dictionaries and maintain a data structure that will keep the result and the input values. i.e: key(a),value(a),key(b),value(b),f(value(a),value(b)) . What sort of data structures would you suggest for this operation
<img src="http://i.stack.imgur.com/Go6Cf.png" alt="enter image description here"></p>
