input: Write a function to convert a dictionary to a list of tuples using the items() method.
  assert dict_to_list({'a': 1, 'b': 2, 'c': 3}) == [('a', 1), ('b', 2), ('c', 3)]
  assert dict_to_list({1: 'apple', 2: 'banana', 3: 'cherry'}) == [(1, 'apple'), (2, 'banana'), (3, 'cherry')]
  assert dict_to_list({'x': 10, 'y': 20}) == [('x', 10), ('y', 20)]
output: def dict_to_list(d):
      return list(d.items())