>>> l=[1,2,3,4,2,2,2]
>>> list(set(l))
[1, 2, 3, 4]
>>> 

 

相关文章: