input: def select_horror_movies():
      """ Re-write the following SQL query in Python.
      SQL Query:
      SELECT * FROM Movies WHERE category = 'horror';
  
      >>> select_horror_movies()
      (1, 'The Exorcist', 'horror')
      (2, 'Halloween', 'horror')
      (3, 'A Quiet Place', 'horror')
      """
      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:     return result