s = set('ABC')print st = frozenset('BCD')print tprint 'k' in sprint 'k' in tprint 'c' not in tfor i in s: print i