input: 
  def select_horror_movies_from_db(db_path: str) -> None:
      """ This function connects to a specified SQLite database, queries all movies under
      the 'horror' category, and prints each row of the result.
      >>> select_horror_movies_from_db('movies.db')
      (1, 'The Exorcist', 'horror', 1973)
      (2, 'Halloween', 'horror', 1978)
      """
      import sqlite3
      
      conn = sqlite3.connect(db_path) 
      cursor = conn.cursor()
      
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      
      result = cursor.fetchall()
      for row in result:
          print(row)
      
      conn.close()
  
output:     import sqlite3
      
      conn = sqlite3.connect(db_path) 
      cursor = conn.cursor()
      
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      
      result = cursor.fetchall()
      for row in result:
          print(row)
      
      conn.close()