Assume that S and T are assigned sets. Without using the join operator |, how can I find the union of the two sets? This, for example,
S
T
|
You can use union method for sets: set.union(other_set)
set.union(other_set)
Note that it returns a new set i.e it doesn't modify itself.