1. Frozen Set of Python
a=frozenset(['dog','apple',1,'dog',2,3,'apple',4,5,6,'dog',1,1,2,2,3,4,2,3,1])
print(a)
b={'cat',7,8,1,2}
union=a|b
print(union)
intersection=a&b
print(intersection)
# AttributeError : 'fozenset' object has no attribute 'remove'
# intersection.remove(1)
print(intersection)INFO