input: from typing import List
  
  def fetch_horror_movies(conn) -> List:
      """ Fetch all movies from the Movies table where the category is 'horror' and return them as a list.
      >>> import sqlite3
      >>> conn = sqlite3.connect('test.db')
      >>> cursor = conn.cursor()
      >>> cursor.execute("CREATE TABLE Movies (name TEXT, category TEXT)")
      >>> cursor.execute("INSERT INTO Movies VALUES ('Scream', 'horror')")
      >>> cursor.execute("INSERT INTO Movies VALUES ('Toy Story', 'animation')")
      >>> conn.commit()
      >>> fetch_horror_movies(conn)
      [('Scream', 'horror')]
      >>> conn.close()
      """
      cursor = conn.cursor()
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      result = cursor.fetchall()
      return result
output:     cursor = conn.cursor()
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      result = cursor.fetchall()
      return result