1set_of_base10_numbers = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}
2set_of_base2_numbers = {1, 0}
3
4intersection = set_of_base10_numbers.intersection(set_of_base2_numbers)
5union = set_of_base10_numbers.union(set_of_base2_numbers)
6
7'''
8intersection: {0, 1}:
9 if the number is contained in both sets it becomes part of the intersection
10union: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}:
11 if the number exists in at lease one of the sets it becomes part of the union
12'''