input: Write a function to convert the given SQL query into a Python script that connects to a SQLite database and executes the query. The function should connect to a database named 'movies.db', execute the query to select all movies in the 'horror' category, and print each result row.
  
  import sqlite3
  
  def run_query():
      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()
  
  assert run_query() # This will print the rows from the 'Movies' table where category is 'horror'
output: def run_query():
      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()