import dis

def f(x):
    for A in range(len(x)-1):
        if x[A] > x[A+1]: 
            h=x[A]
            x[A]=x[A+1]
            x[A+1]=h
    return x

dis.dis(f)
print(f([9,0]))

Embed on website

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