list_intersection

hhpy.main.list_intersection(lst: list, *args) → list[source]

Returns common elements of n lists

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

the list of common elements