# -*- coding: utf-8 -*-
'''
set集合
聯集(|)、交集(&)、差集(-)與互斥或(^)運算
'''

zooA= {"bird", "cat", "dog","pig"}
zooB = {"wolf", "cat", "dog","turtle"}
print(zooA & zooB)
print(zooA | zooB)
print(zooA - zooB)
print(zooA ^ zooB)
