Skip to content

Commit ad94248

Browse files
authored
Update sleepsort.py
1 parent 5691596 commit ad94248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/sleepsort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
items.append(a)
1010
def sleep_sort(i):
1111
sleep(i)
12-
print i
12+
print(i)
1313
[thread.start_new_thread(sleep_sort, (i,)) for i in items]

0 commit comments

Comments
 (0)