#coding = utf8
# linux = {"alex","jack","rain","lizhi","sb","lizhi"}
# python = {"sb","alex","mack","rachel"}
# print(linux)
# print(python)
# print("sb" in linux)
# print(linux.intersection(python))#交集
# print(linux & python)#交集
#
# print(linux.difference(python))#差集
# print(python.difference(linux))#差集
# print(linux - python)#差集
# print(python - linux)#差集
#
# print(linux.union(python))#联合 并集
# print(linux | python)#并集
#
# print(linux.symmetric_difference(python))#对称差集，互相不在大都打印
# print(linux ^ python)#对称 差集 互相不在的都打印

# linux.update(python)#把linux和python合并到Linux中
#linux.add("ALEX")#把ALEX加入到linux中
#print(linux.difference(python))#打印出Linux比Python多的元素
# f=open("D:\\问题.txt",encoding="GBK")
# print(f.read().encode("utf8"))
# print(f.read())
