We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 849168a commit f1079b9Copy full SHA for f1079b9
sorts/sleep_sort.py
@@ -29,10 +29,10 @@ def sleeper(value: int) -> None:
29
result.append(value)
30
31
threads = [threading.Thread(target=sleeper, args=(x,)) for x in arr]
32
- for t in threads:
33
- t.start()
34
35
- t.join()
+ for thread in threads:
+ thread.start()
+ thread.join()
36
37
return result
38
0 commit comments