Create a Python function to determine the intersection of two input lists.
The intersection of two sets, A and B, is the set containing all elements common to both A and B, excluding all other elements. You are required to write a function named `intersect_lists` to calculate the intersection (common elements) between two input lists, `list1` and `list2`, and return the result as a new list. ### Parameters - `list1` (list): The first input list of integers. - `list2` (list): The second input list of integers for comparison with `list1`. ### Return Value - A list of integers representing the intersection of `list1` and `list2`. ### Examples ```python intersect_lists([1,2,2,3],[3,0]) # Returns: [3] intersect_lists([7,9,3,2],[0,1,2]) # Returns: [2] intersect_lists([10,12,15],[10,10,9,12]) # Returns: [10, 12] ```