This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# used Python 3.8 | |
import _thread | |
from time import sleep | |
items = [2, 4, 5, 2.5, 1, 7] | |
def sleep_sort(i): | |
sleep(i) | |
print(i) |