input: 
  def select_horror_movies():
      """ Re-write the given SQL query in Python to select all movies from a 
      SQLite database where the category is 'horror'. Print each row of the result.
      >>> select_horror_movies()
      # Assuming 'movies.db' contains a 'Movies' table with 'category' column containing 'horror'
      # (1, 'Movie 1', 'horror')
      # (2, 'Movie 2', 'horror')
      """
  
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()
  