def uniq(input_):

    """
    Returns a list with only unique elements from a list
    containing duplicate / repeating elements.

    Parameters
    ----------
    input_ : list
        Input list.

    Returns
    -------
    output : list
        List with only unique elements.

    Examples
    --------
    >>> lst = [2, 4, 2, 9, 10, 35, 10]
    >>> uniq(lst)
    [2, 4, 9, 10, 35]

    """
    output = []
    for x in input_:
        if x not in output:
            output.append(x)
    return output