In Python, when using sets, you use _ to calculate the intersection between two sets and _ to calculate the union.
&&; ||
&&
||
&; |
&
|
|; &
Intersect; union
Intersect
union