#!/usr/bin/python3
#冒泡排序法
def bubbleSort(list):
index=len(list)-1
sorted=False
while not sorted:
sorted=True
for i in range(index):
if list[i]>list[i+1]:
sorted=False
list[i],list[i+1]=list[i+1],list[i]
index-=1
list=[65,55,45,35,25,15,10]
bubbleSort(list)
print(list)