ThreadPoolExecutor — predict the output
Variables
Data types
Read the code carefully
from multiprocessing import Pool def square(n): return n * n if __name__ == "__main__": with Pool(4) as p: print(p.map(square, range(5)))
What will the program print? Write here: