A = [3,2,5] B = 0 C = 0 while(B<2): if (A[B] > A[B+1]): A[B],A[B+1] = A[B+1],A[B] B=0 B+=1 print(A)
To embed this project on your website, copy the following code and paste it into your website's HTML: