集合的其他方法 1.交差补集 math = {'xm','xh','xg','xx'} english ={'xm','xh','dm','john'} print(math.symmetric_difference(english)) 运行结果: {'dm', 'john', 'xx', 'xg'} Process finished with exit code 0 2.如果交集李没有重复的返回True math = {'xm','xh','xg','xx'} english ={'xd','…