python operation set
# 1, to create the set of A = [ ' FDFD ' , ' hgfh ' , ' JGF ' , ' Wet ' ] B = SET (A) # 2, the increase in collection C = b.add ( ' hahahah ' ) Print (C) # 3, the set of deleted c.pop () c.remove ( ' hahahah ' ) c.clear () # . 4, the set of modified c.update () # . 5, a set of traversal for I in C: Print (I)