📜  只有唯一值的 python 列表 - Python 代码示例

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

代码示例2
mylist = ['nowplaying', 'PBS', 'PBS', 'nowplaying', 'job', 'debate', 'thenandnow']
myset = set(mylist)
print(myset)