python-set

s.difference(t)
#l1-l2,返回一个新 set ,两个set中的不同元素,只保留l1中的不同元素
运维虐我千万遍,我对运维如初恋。
原文地址:https://www.cnblogs.com/kevincaptain/p/5570685.html