Mega Code Archive
Categories
/
Python Tutorial
/
Collections
Mixed Set Type Operations
s = set('ABC') t = frozenset('bookBC') print t | s print t ^ s print t - s