冒泡排序(Bubble Sort)
#!/usr/bin/env python# -*- coding: utf-8 -*-# @Author : guangxu.qi# @Time : 2020/9/15 14:27# @FileName: bubble_sort.py# @Description:def bubble_sort(alist): for i in range(len(alist) - 1): for j in range(len(alist) - 1 - i):