subprocess.run — predict the output
Variables
Data types
Read the code carefully
from concurrent.futures import ThreadPoolExecutor def double(x): return x * 2 with ThreadPoolExecutor(max_workers=2) as pool: results = list(pool.map(double, [1, 2, 3])) print(results)
What will the program print? Write here: