Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
[Filter With Items Count] [Simple and Concise Solution] solution in Clear category for Non-unique Elements by sanddro
from typing import Iterable
def checkio(data: list[int]) -> Iterable[int]:
return filter(lambda x: data.count(x) > 1, data)
Feb. 21, 2025