I have a list containing several sets {} with different names and string values.
eg.
set1 = {"a", "santa", "clock"}
search = {"why", "is", "santa", "nice"}
list_of_sets = [set1, search]
I want to find the intersection between the sets in the list through a function:
def intersection_between_sets_from_list(list_of_sets):
""" find the intersection between the sets here"""
return intersection_strings
any idea what code to use in """ find the intersection between the sets here""".