【python坑记录】

python的sort函数使用的时候有一个参数cmp。一定注意这里返回值要用1和-1。不能True和False!!!

原文地址:https://www.cnblogs.com/MrLJC/p/6081968.html