python sorted函數以及operator.itemgetter函數

operator.itemgetter函數: [python]  view plain  copy import operator   help(operatpr.itemgetter)   operator模塊提供的itemgetter函數用於獲取對象的哪些維的數據,參數爲一些序號(即需要獲取的數據在對象中的序號) [python]  view plain  copy a=[1,2,3]   b
相關文章
相關標籤/搜索