摘要: a = [5, 4, 3, 2, 1, 0] len_a = len(a) # 选择排序 def selection_sort(a: list): if a is None or len_a < 2: return for i in range(len_a): min_index = i for j 阅读全文
posted @ 2020-07-13 22:51 fengzx120 阅读(183) 评论(0) 推荐(0) 编辑