阅读背景:

Python入门:sort与sorted区别

来源:互联网 

sort(*, key=None, reverse=None)
#只是针对list的方法
This method sorts the list in place, using only < comparisons between items. Exceptions are not suppressed - if any comparison operations fail, the entire sort operation will fail (and the list will likely be left in a partially modified state).This




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: