DEV Community

Discussion on: Charming the Python: Sets

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.