One way
dict1 = { 'key1': 1, 'key2': 2 } dict2 = { 'key': 1, 'key4': 4 } def myfunction (arg1, arg2): if arg1 == arg2: return 'Dicts are equal' return 'Dicts do not match' print(myfunction(dict1, dict2))You may also want to look at deepdiff from pypi
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags