input: 
  def select_horror_movies():
      """ Connect to the 'movies.db' SQLite database and execute a query to fetch all movies in the 'horror' category.
      Print each row of the result.
      >>> select_horror_movies()
      [(1, 'The Conjuring'), (2, 'It')]
      """
      import sqlite3
  
      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()
  
output:     import sqlite3
  
      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()