Compare two dicts in python

Posted by & filed under python.

Божественный и простой способ сравнения словарей: a={‘a’: 1, ‘b’: 2 } b={‘b’: 2, ‘a’: 1 } print(cmp(a,b))