input: Write a python function to make a GET request to a given URL and process the JSON response to extract a specific field.
  assert ask_question("What is the weather today?") == "It's sunny today."
  assert ask_question("Tell me a joke.") == "Why don't scientists trust atoms? Because they make up everything!"
output: import requests
  
  def ask_question(question):
      url = "http://example.com/api"
      response = requests.get(url, params={'question': question})
      if response.status_code == 200:
          data = response.json()
          return data.get('answer', 'No answer found')
      else:
          return 'Failed to get response'