input: 
  def fetch_horror_movies() -> List[str]:
      """ Fetch all movie records from 'movies.db' where the category is 'horror' and print each row.
      >>> fetch_horror_movies()
      ('Scooby-Doo', 'horror')
      ('It', 'horror')
      """
      import sqlite3
  
      conn = sqlite3.connect('movies.db')
      cursor = conn.cursor()
  
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
  
      result = cursor.fetchall()
      for row in result:
          print(row)
  
      conn.close()
      return result
  
output:     return [row[0] for row in result]