即将离开知乎
您即将离开知乎,请注意您的帐号和财产安全。
http://res.crossincode.com/jump.html?to=http://pythontutor.com/visualize.html#code=lst+%3D+%5B4,12,7,16,3,12,45,12,57,32%5D%0Afor+j+in+range(len(lst%29+-+1%29%3A%0A++++for+i+in+range(len(lst%29+-+1+-+j%29%3A%0A++++++++if+lst%5Bi%5D+%3C+lst%5Bi%2B1%5D%3A%0A++++++++++++lst%5Bi%5D,+lst%5Bi%2B1%5D+%3D+lst%5Bi%2B1%5D,+lst%5Bi%5D%0Aprint+lst&mode=edit&origin=opt-frontend.js&cumulative=false&heapPrimitives=false&textReferences=false&py=2&rawInputLstJSON=%5B%5D