Python 利用内置set函数对字符串和列表进行去重的方法 如下所示:#coding:utf8__author__='libingxian'__date="20170415"#由于数据类型set本身具有无序,唯一值 内置函数set