摘要: a= [9,1,33,23,12,8,9] for i in range(0,len(a)): for j in range(0,i): if(a[i]>a[j]): temp = a[j] a[j] = a[i] a[i] = temp print(a) 阅读全文
posted @ 2018-03-14 10:48 植入代码 阅读(112) 评论(0) 推荐(0) 编辑