# 写一个冒泡搞定 def maopao(lenth, list1, flag): for i in range(lenth): for j in range(lenth-i-1): if flag ...