python 冒泡排序 arr=input(" ") l=[int(n) for n in arr.split()] count=len(l) for i in range(0,count): for j in range (i+1,count): if l[i]>l[j]: l[i],l[j]=l[j],l[i] print(l)