#/usr/bin/pythonprojects = [1,1,'a','a']projects= list(set(projects))print projects结果:projects = [1,'a']