input: 
  def execute_horror_movies_query(database_name: str):
      """ Execute an SQL query to retrieve all movies from the 'Movies' table 
      with a category of 'horror'. Connect to a SQLite database using the provided
      database name, execute the query, and print each row of the result.
      
      Example:
      >>> execute_horror_movies_query('movies.db')
      ('The Exorcist', 'horror', '1973-12-26')
      ('Scream', 'horror', '1996-12-20')
      """
  
output:     import sqlite3
  
      conn = sqlite3.connect(database_name)
      cursor = conn.cursor()
  
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      rows = cursor.fetchall()
  
      for row in rows:
          print(row)
  
      conn.close()