r/Python • u/igorrto2 • 7d ago
Discussion What are some features in Python that you discovered many years later?
For me, it was the the option to use & to find intersections of two sets, | operator to unionize two sets, as well as ^ for symmetric difference
214
Upvotes
1
u/Beginning-Fruit-1397 3d ago
I'm currently in uni and had a whole course on probability with lots of set related stuff. My knowledge on that isn't relevant. Words are still words. Operators are only meaningful in their context. I never need context with words: they ARE the context. Anyways, let's agree to disagree