import random

unordered = random.sample(range(10), 10)
random.shuffle(unordered)

print(unordered)
ordered = []

while len(unordered) > 0:
    lowest = unordered[0]
    for i in unordered:
        if(i < lowest):
            lowest = i
    ordered.append(lowest)
    unordered.remove(lowest)

print(ordered)

fa5073a692db338425125d6db6f014a8f6ae0db1
<mask token>

<mask token>
random.shuffle(unordered)
print(unordered)
<mask token>
while len(unordered) > 0:
    lowest = unordered[0]
    for i in unordered:
        if i < lowest:
            lowest = i
    ordered.append(lowest)
    unordered.remove(lowest)
print(ordered)

<mask token>
unordered = random.sample(range(10), 10)
random.shuffle(unordered)
print(unordered)
ordered = []
while len(unordered) > 0:
    lowest = unordered[0]
    for i in unordered:
        if i < lowest:
            lowest = i
    ordered.append(lowest)
    unordered.remove(lowest)
print(ordered)

import random
unordered = random.sample(range(10), 10)
random.shuffle(unordered)
print(unordered)
ordered = []
while len(unordered) > 0:
    lowest = unordered[0]
    for i in unordered:
        if i < lowest:
            lowest = i
    ordered.append(lowest)
    unordered.remove(lowest)
print(ordered)

import random

unordered = random.sample(range(10), 10)
random.shuffle(unordered)

print(unordered)
ordered = []

while len(unordered) > 0:
    lowest = unordered[0]
    for i in unordered:
        if(i < lowest):
            lowest = i
    ordered.append(lowest)
    unordered.remove(lowest)

print(ordered)
