Answer
Use ThreadPoolExecutor or ProcessPoolExecutor.
submit() runs tasks asynchronously.
Retrieve results using result() or as_completed().
submit() runs tasks asynchronously.
Retrieve results using result() or as_completed().