input: Write a python function to sort a dictionary by its values in descending order using a lambda function.
  assert sort_dict_by_values({'a': 3, 'b': 1, 'c': 2}) == {'a': 3, 'c': 2, 'b': 1}
  assert sort_dict_by_values({'apple': 5, 'banana': 2, 'cherry': 7}) == {'cherry': 7, 'apple': 5, 'banana': 2}
  assert sort_dict_by_values({'x': 0, 'y': 0, 'z': 0}) == {'x': 0, 'y': 0, 'z': 0}
output: def sort_dict_by_values(d):
      return dict(sorted(d.items(), key=lambda item: item[1], reverse=True))