input: Write a python function to add a product to a list of products.
  assert add_product([{'name': 'Apple', 'price': 3.99}], 'Banana', 2.99) == [{'name': 'Apple', 'price': 3.99}, {'name': 'Banana', 'price': 2.99}]
  assert add_product([], 'Kiwi', 4.99) == [{'name': 'Kiwi', 'price': 4.99}]
  assert add_product([{'name': 'Mango', 'price': 5.99}], 'Pineapple', 3.49) == [{'name': 'Mango', 'price': 5.99}, {'name': 'Pineapple', 'price': 3.49}]
output: def add_product(products, name, price):
      products.append({'name': name, 'price': price})
      return products