bubble_sort 是否应该是这样:def bubble_sort(lists): count = len(lists) for i in range(0, count): for j in range(0, count-i-1): if lists > lists : lists , lists = lists , lists return lists
评论
分享到微信
打开微信,点击顶部的“╋”, 使用“扫一扫”将网页分享至微信。