2-3. Create an executor (ThreadPoolExecutor or ProcessPoolExecutor) and run the function in parallel. # ThreadPoolExecutor の場合 with concurrent.futures ...