python 怎麼輸出陣列中的元素? ... for e in reversed(sorted(b.keys())[-10:]): print e,":",b[e] #排序列表鍵值並取後10個(數量最大的10個),翻轉後打印 ...
確定! 回上一頁