摘要: #encoding = utf-8 list = [1,8,3,6] print(list.sort()) #Noneprint(list)#[1,3,6,8]print(sorted(list))#[1, 3, 6, 8]print(sorted(list,reverse=True))#[8, 6 阅读全文
posted @ 2018-09-16 10:12 2xiaodouya2 阅读(1087) 评论(0) 推荐(0) 编辑