input: def re_write_sql_query_in_python(sql_query: str) -> str:
      """
      Re-write the given SQL query in Python using sqlite3. The input query should be of the form 
      "SELECT * FROM table WHERE condition". The output will be the Python code that performs the same query.
      
      Example:
      >>> re_write_sql_query_in_python("SELECT * FROM Movies WHERE category = 'horror'")
      "import sqlite3\\n\\nconn = sqlite3.connect('movies.db')\\ncursor = conn.cursor()\\n\\ncursor.execute(\\"SELECT * FROM Movies WHERE category = 'horror'\\")\\n\\nresult = cursor.fetchall()\\nfor row in result:\\n    print(row)\\n\\nconn.close()"
      """
output:     import sqlite3
  
      conn = sqlite3.connect('movies.db')
      cursor = conn.cursor()
  
      cursor.execute(sql_query)
  
      result = cursor.fetchall()
      for row in result:
          print(row)
  
      conn.close()