input: 
  def pythonize_sql_query(query: str) -> str:
      """ Convert a given SQL query into a Python code snippet that executes the query using SQLite.
      The function assumes that the database file is named 'movies.db'. It connects to the database, 
      executes the query, fetches all results, and prints each row.
      
      >>> pythonize_sql_query("SELECT * FROM Movies WHERE category = '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()
      """
      return f"""import sqlite3
  conn = sqlite3.connect('movies.db') 
  cursor = conn.cursor()
  cursor.execute(\"{query}\")
  result = cursor.fetchall()
  for row in result:
      print(row)
  conn.close()"""
output:     
  import sqlite3
  conn = sqlite3.connect('movies.db') 
  cursor = conn.cursor()
  cursor.execute(query)
  result = cursor.fetchall()
  for row in result:
      print(row)
  conn.close()
  