input: 
  from typing import List
  
  def fetch_horror_movies(connection) -> List:
      """
      Given a SQLite connection, fetch all movies from the Movies table
      where the category is 'horror'. Return the results as a list.
  
      >>> import sqlite3
      >>> conn = sqlite3.connect(':memory:')
      >>> cursor = conn.cursor()
      >>> cursor.execute("CREATE TABLE Movies (title TEXT, category TEXT)")
      >>> cursor.execute("INSERT INTO Movies VALUES ('Scream', 'horror')")
      >>> cursor.execute("INSERT INTO Movies VALUES ('Toy Story', 'animation')")
      >>> cursor.execute("INSERT INTO Movies VALUES ('Insidious', 'horror')")
      >>> conn.commit()
      >>> fetch_horror_movies(conn)
      [('Scream', 'horror'), ('Insidious', 'horror')]
      """
      cursor = connection.cursor()
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      result = cursor.fetchall()
      return result
  
output:     cursor = connection.cursor()
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      result = cursor.fetchall()
      return result