集合

list_1=[1,2,34,45,]

list_1=set(list_1)

print(list_1)

交集 &

并集 |

对称集 ^

 

posted on 2017-05-07 12:59  博客小川  阅读(59)  评论(0)    收藏  举报