3.6列表的排序与长度

sort 排序 默认是升序排列

加上reverse=True 为倒序排列(使反转 颠倒)

 

 

posted @ 2023-07-06 16:59  等风来lzd  阅读(19)  评论(0)    收藏  举报