python排序之冒泡排序
def sort(list):
for i in range(len(list)):
for j in range(len(list) - i - 1):
if list[j] < list[j + 1]:
list[j], list[j + 1] = list[j + 1], list[j]
return list