🌈 搜索
📅  最后修改于: 2022-03-11 14:45:26.930000             🧑  作者: Mango
>>> s = [2, 3, 1, 4, 5, 3] >>> sorted(range(len(s)), key=lambda k: s[k]) [2, 0, 1, 5, 3, 4] >>>