python check if 2 dictionaries are have the same elements code example Example: python check if two dictionaries have same keys d_1.keys() == d_2.keys()