input: Write a function to fetch and parse a JSON response from an API endpoint.
  assert fetch_todo_data('https://jsonplaceholder.typicode.com/todos/1') == {'id': 1, 'title': 'delectus aut autem', 'completed': False}
  assert fetch_todo_data('https://jsonplaceholder.typicode.com/todos/2') == {'id': 2, 'title': 'quis ut nam facilis et officia qui', 'completed': False}
  assert fetch_todo_data('https://jsonplaceholder.typicode.com/todos/3') == {'id': 3, 'title': 'fugiat veniam minus', 'completed': False}
output: import requests
  
  def fetch_todo_data(url):
      response = requests.get(url)
      return response.json()