📜  重新排序列表 python 代码示例

📅  最后修改于: 2022-03-11 14:47:06.991000             🧑  作者: Mango

代码示例1
a_list = ["a", "b", "c"]
order = [1, 0, 2]
a_list = [a_list[i] for i in order]