可以参考以下示例:# 按列表a中元素的值进行排序,并返回元素对应索引序列a = [1, 3, 4, 5, 2, 7, 9]print('a:', a)sorted_id = sorted(range(len(a)) ...
確定! 回上一頁