input: Write a function to take in a list and print a dictionary with the elements and the product of each element. If the list is empty, print an empty dictionary.
  
  def product_of_list(list):
      output = {}
      for element in list:
          output[element] = element * element
      return output
  
  assert product_of_list([7, 8, 5])=={7: 49, 8: 64, 5: 25}
  assert product_of_list([])=={}
output: def product_of_list(list):
      output = {}
      for element in list:
          output[element] = element * element
      return output