Fork me on GitHub
摘要: def arr(num): for i in range(len(num)-1): for j in range(len(num)-1-i): if num[j]>num[j+1]: num[j],num[j+1]=num[j+1],num[j] return num print(arr([888, 阅读全文
posted @ 2018-11-30 10:22 都一样* 阅读(224) 评论(0) 推荐(0) 编辑