python实现列表去重的方法

>>> l=[1,2,3,4,2,2,2]
>>> list(set(l))
[1, 2, 3, 4]
>>> 
原文地址:https://www.cnblogs.com/sea-stream/p/10772130.html