input: Write a python function to fetch JSON data from a given URL and return the value associated with the 'result' key.
  assert fetch_result('https://example.org/api?name=test') == 'expected_result'
  assert fetch_result('https://example.org/api?name=example') == 'another_expected_result'
  assert fetch_result('https://example.org/api?name=sample') == 'yet_another_expected_result'
output: import requests
  
  def fetch_result(url):
      response = requests.get(url)
      data = response.json()
      return data['result']