[Solved] Why would the union of an empty set with another set results in an empty set in python? [closed]
No! The result of the union between the set empty and b is always b. a = set() b = set([1,2]) print a.union(b) #return {1, 2} The intersection between an empty set and anything is the set empty. print a.intersection(b) #return set() solved Why would the union of an empty set with another set results … Read more