← Code LabPython0/50 solved · 0%
Async · hard

38. Concurrency with threading

Run I/O-bound work on multiple threads.

Write `fetch_all(urls)` that spawns one `threading.Thread` per URL, has each thread store `f"fetched {url}"` into a shared results list at its index, joins all threads, and returns the results list in the original order.
Required in your answer: threading.Thread.join(