Python set operations
Python sets have two kinds of methods:
a.intersection(b)which returns the intersectiona.intersection_update(b)which updatesaby removing elements not found in b.
It calls the function-like ones (that return the result) operators, as opposed to the ‘update_’ ones.
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus