Mega Code Archive
Categories
/
Python Tutorial
/
Collections
Intersection ( & )
s = set('ABC') t = frozenset('bookBC') print s & t