import threading# 如果多线程想获取到结果的话,那么就得把它的结果写到一个list里面res = []def lida(x, y): res.append(x + y)for i in range(5): t = threading.Thread(target=lida, args=(i, i)) t.start()print(res)