input: def transform_sql_to_python(sql_query: str) -> str:
      """
      Transforms a given SQL query into a Python code block that executes the query using SQLite3.
      The function assumes the database is named 'movies.db'.
      
      >>> transform_sql_to_python("SELECT * FROM Movies WHERE category = 'horror';")
      """
      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()
output:     return f"""import sqlite3
  
  conn = sqlite3.connect('movies.db')
  cursor = conn.cursor()
  
  cursor.execute({sql_query!r})
  
  result = cursor.fetchall()
  for row in result:
      print(row)
  
  conn.close()"""