📜  如何让 python 删除列表中的重复项 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:13.379000             🧑  作者: Mango
代码示例3
mylist = ["a", "b", "a", "c", "c"]
mylist = list(dict.fromkeys(mylist))
print(mylist)