input: 
  def select_horror_movies():
      """ Re-write the following SQL query in Python.
      SELECT * FROM Movies WHERE category = 'horror';
      >>> select_horror_movies()
      [(1, 'Movie1', 'horror', 2000), (2, 'Movie2', 'horror', 2005)]
      """
      import sqlite3
  
      conn = sqlite3.connect('movies.db') 
      cursor = conn.cursor()
  
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
  
      result = cursor.fetchall()
      conn.close()
      return result
  
output:     import sqlite3
  
      conn = sqlite3.connect('movies.db') 
      cursor = conn.cursor()
  
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
  
      result = cursor.fetchall()
      conn.close()
      return result