input: Write a function to compare two dictionaries for equality.
  assert compare_dicts({"a": 1, "b": 2}, {"a": 1, "b": 2}) == True
  assert compare_dicts({"a": 1, "b": 2}, {"a": 2, "b": 2}) == False
  assert compare_dicts({"a": 1, "b": 2}, {"a": 1, "b": 2, "c": 3}) == False
output: def compare_dicts(dict1, dict2):
      return dict1 == dict2