input: Write a python function to search for products with the term "Python" in their body using a given search endpoint.
  assert search_products("Python") == expected_output_1
  assert search_products("Python") == expected_output_2
  assert search_products("Python") == expected_output_3
output: import requests
  
  def search_products(term):
      url = "https://example.com/api/search"
      params = {'q': term}
      response = requests.get(url, params=params)
      
      if response.status_code == 200:
          return response.json()
      else:
          return None