How to compare two OrderedDict dictionaries?
<p>How can I compare two OrderedDict dictionareis?</p>

<p>My structure is the following:</p>

<pre><code>dict_a = OrderedDict([(1,4), (2,5), (3,3), (4,5), (5,4), (6,4), (7,4), (8,3), (9,4)])

dict_b = OrderedDict([(1,4), (2,2), (3,1), (4,4), (5,6), (6,7), (7,4), (8,2), (9,5)])

for values in score_dict.items():
if values == course_dict.values():
    print 'match!'
else:
    print 'No match!'
</code></pre>

<p>It iterates through and both lists are ordered so it should match on 1 and 7?
Thanks in advance!</p>
