def get_duplicates_in_list(seq):
    """
    Returns all duplicates items in given list or tuple
    :param seq: list or tuple
    :return: list
    """

    seen = set()
    duplicates = list()
    for obj in seq:
        if obj in seen:
            duplicates.append(obj)
        seen.add(obj)

    return duplicates