DEV Community

Charming the Python: Sets

Vicki Langer on December 07, 2019

If coding tutorials with math examples are the bane of your existence, keep reading. This series uses relatable examples like dogs and cats. ...
Collapse
 
waylonwalker profile image
Waylon Walker • Edited

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.