Now I understand the data in these data structures has to be of type integer for this to be viable but how would it work?
Suppose I had a list of lists or set with tuples in it; what would the result of that look like and what would it mean logically?
list_a = [[1,34,24],[12,727,2]]
list_b =[[12,727,2]]
some_list = list_a & list_b
# what would the above list look like?
set_1 = {(2,3),(3,4),(4,5)}
set_2 = {(1,3),(2,5),(6,7),(1,0)}
some_set = set_1 | set2
# what would the above set look like?
Could I use logical operators on the resulting data structures?
if some_value in set1 | set2:
# do something