list_intersection

hhpy.main.list_intersection(lst: Union[Sequence[T_co], int, float, str, bytes, None, AbstractSet[T_co]], *args) → list[source]

Returns common elements of n lists

Parameters:
  • lst – the first list
  • args – the subsequent lists
Returns:

the list of common elements