python 集合交集

#Intersection  
setx = set(["green", "blue"])  
sety = set(["blue", "yellow"])  
setz = setx & sety  
print(setz)
原文地址:https://www.cnblogs.com/sea-stream/p/9950817.html