input: 
  def run_horror_movies_query():
      """ Re-write the provided SQL query in Python to select all movies with the category 'horror' from a SQLite database.
      
      >>> run_horror_movies_query()
      Result: All rows from the 'Movies' table in 'movies.db' where category is 'horror' are printed.
      """
  
output:     import sqlite3
  
      conn = sqlite3.connect('movies.db')
      cursor = conn.cursor()
  
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      rows = cursor.fetchall()
  
      for row in rows:
          print(row)
  
      conn.close()