python 集合运算
x = set()
y = set()
with open('note.txt', 'r') as f:
lines = f.readlines()
for line in lines:
x.add(line)
with open('note1.txt', 'r') as f:
lines = f.readlines()
for line in lines:
y.add(line)
c = x & y
print(x-c)
print(y-c)
# print(y)