import dis def f(x): for A in range(len(x)-1): for B in range(len(x)-A): if x[A] > x[A+B]: h=x[A] x[A]=x[A+B] x[A+B]=h return x dis.dis(f) print(f([9,0,1]))
To embed this project on your website, copy the following code and paste it into your website's HTML: