loading...

re: Charming the Python: Sets VIEW POST

FULL DISCUSSION
 

I didn't even realize there were intersection and difference methods on sets. I've always used +, -, &, , | operators. The methods you listes are likely more intuitive and easier to read for more folks than the typical operators.

code of conduct - report abuse