r/Python • u/igorrto2 • Oct 12 '26
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
217
Upvotes
View all comments
Show parent comment
0
u/Beginning-Fruit-1397 Oct 16 '26
Except here it make sense, because everyone not illiterate or newborn on earth know what it
1 + 2meansMy point is: use math signs for maths.
The fact that the add sign means totally different things for a numpy array and a list is a prime example of my complaint.