摘要: code_1:冒泡排序 1 def bubble_sort(alist): 2 """冒泡排序""" 3 n = len(alist) 4 for j in range(n-1): 5 for i in range(0,n-1-j): 6 if alist[i] > alist[i+1]: 7 al 阅读全文
posted @ 2019-07-22 19:55 MUOURAN0120 阅读(181) 评论(0) 推荐(0) 编辑