摘要: # coding:utf-8 def bubble_sort(alist): """冒泡排序""" n = len(alist) for j in range(n-1): #count = 0 for i in range(0, n-1-j): #班長從頭走到尾 if alist[i] > alis 阅读全文
posted @ 2019-09-21 00:22 李俊鹏Python 阅读(190) 评论(0) 推荐(0) 编辑