“`”

参考回答:

<pre><code>def bubble_sort(lst):
count=len(lst)
for i in range(0,count):
for j in range(i,count):
if lst[i]>lst[j]:
lst[i],lst[j]=lst[j],lst[i]
</code></pre>

 

<pre><code> "“`

Was this helpful?

0 / 0

发表回复 0

Your email address will not be published.