Find the duplicate elements from a sequence.

def _find_duplicates(seq):
    """Find the duplicate elements from a sequence."""
    seen = set()
    return [element for element in seq
            if seq.count(element) > 1
            and element not in seen and seen.add(element) is None]