input: Write a function that takes in a list and prints a dictionary with the elements and the product of each element.
  def product_of_list(list):
      output = {}
      for element in list:
          output[element] = element * element
      return output
  
  print(product_of_list([7, 8, 5]))
  assert product_of_list([7, 8, 5]) == {7: 49, 8: 64, 5: 25}
  assert product_of_list([2, 4, 6]) == {2: 4, 4: 16, 6: 36}
  assert product_of_list([]) == {}
  assert product_of_list([10]) == {10: 100}
output: def product_of_list(list):
      output = {}
      for element in list:
          output[element] = element * element
      return output