Python求多个list的交集、并集、差(补)集的方法

交集

"""以a、b、c为实验对象,求a、b、c都同时拥有的元素"""
a = [0,1,2,3,4]
b = [0,2,6]
c =

猜你喜欢

转载自blog.csdn.net/weixin_35770067/article/details/131701342