python 实现冒泡排序

摘要: # encoding: utf-8def bubble_sort(listScore): amount = len(listScore) while amount > 0: for i in range(amount - 1): if listScore[i] > listScore[i+1]: l 阅读全文
posted @ 2019-02-28 19:49 念书头疼 阅读(256) 评论(0) 推荐(0)