摘要: python的set和其他语言类似, 是一个无序不重复元素集, 基本功能包括关系测试和消除重复元素. 集合对象还支持union(联合), intersection(交), difference(差)和sysmmetric difference(对称差集)等数学运算.sets 支持 x in set... 阅读全文
posted @ 2014-01-14 10:35 arhatlohan 阅读(266) 评论(0) 推荐(0) 编辑