比如对a = [3,4,1,7,2]用a.sort()排序得到a = [1,2,3,4,7], ... In [6]: [index for index, value in sorted(enumerate(a), key=itemgetter(1))]
確定! 回上一頁