Python3 Determine if two dictionaries are equal [duplicate] Python3 Determine if two dictionaries are equal [duplicate] python python

Python3 Determine if two dictionaries are equal [duplicate]


== works

a = dict(one=1, two=2, three=3)b = {'one': 1, 'two': 2, 'three': 3}c = dict(zip(['one', 'two', 'three'], [1, 2, 3]))d = dict([('two', 2), ('one', 1), ('three', 3)])e = dict({'three': 3, 'one': 1, 'two': 2})a == b == c == d == eTrue

I hope the above example helps you.