T=[1,1,4,5,1,4]
for _ in range(10):
    for A in range(len(T)-1):
        if T[A] > T[A+1]:
            J = T[A+1]
            T[A+1] = T[A]
            T[A] = J
print(T)
        
    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: