#/usr/bin/python
projects = [1,1,'a','a']
projects= list(set(projects))
print projects
结果:projects = [1,'a']
本文标题:python 列表去从
本文链接:https://www.haomeiwen.com/subject/jvawnxtx.html
网友评论