Python, Concurrency, Parallelism, Multiprocessing, Asynchronous.
print("Main Finito") #### [0, 1, 2, 3, 0, 1, 2, 3] Main Finito What if we placed t1.join() before defining t2: t1 = threading.Thread(target=foo1, args=(4,)) t1.start() t1.join() t2 = threading.Thread(target=foo2, args=(4,)) t2.start() t2.join() time.sleep(.5) print(liste) print("Main Finito") ####