摘要: 1.冒泡算法 list = [1, 5, 2, 6, 9, 3, 4, 0] print(len(list)) # 8 conunt = 1 while conunt < len(list): for i in range(len(list) - conunt): if list[i + 1] <= 阅读全文
posted @ 2020-08-17 21:37 唐雪成 阅读(189) 评论(0) 推荐(1)