使用 sorted() 函数获取排序列表的索引。 设置 key 参数以指定排序条件。 a_list = ['a', 'b', 'd', 'c'] indices = sorted( range(len(a_list)), ...
確定! 回上一頁