Mega Code Archive

 
Categories / Python Tutorial / Collections
 

Union ( )

s = set('ABC') t = frozenset('bookBC') print s | t