def list_intersection(list1, list2):
 return [item for item in list1 if (item in list2)]

def list_intersection ( list1 , list2 ) : return [ item for item in list1 if ( item in list2 ) ]
take the not-in-place intersection of two lists .