为什么要用NumPy 数组结构而不是Python 本身的列表list? ... ranking = sorted(peoples,key=lambda x:x[1]+x[2]+x[3], reverse=True)#按照降序排列print(ranking) ...
確定! 回上一頁