python_data_scien/poc2/poc2_mini_proj_2.py
def remove_duplicates(list1):
    """
    Eliminate duplicates in a sorted list.

    Returns a new sorted list with the same elements in list1, but
    with no duplicates.

    This function can be iterative.
    """
    result_list = []
    for idx in range(len(list1)):
        if idx == 0:
            result_list.append(list1[idx])
        else:
            if list1[idx] == result_list[-1]:
                pass
            else:
                result_list.append(list1[idx])
    return result_list

    Eliminate duplicates in a sorted list.

    Returns a new sorted list with the same elements in list1, but
    with no duplicates.

    This function can be iterative.
    
Eliminate duplicates in a sorted list.
Returns a new sorted list with the same elements in list1, but
with no duplicates.

This function can be iterative.
Eliminate duplicates in a sorted list . Returns a new sorted list with the same elements in list1 but with no duplicates . This function can be iterative .
def remove_duplicates(list1):
    result_list = []
    for idx in range(len(list1)):
        if idx == 0:
            result_list.append(list1[idx])
        else:
            if list1[idx] == result_list[-1]:
                pass
            else:
                result_list.append(list1[idx])
    return result_list
def remove_duplicates ( list1 ) : result_list = [ ] for idx in range ( len ( list1 ) ) : if idx == 0 : result_list . append ( list1 [ idx ] ) else : if list1 [ idx ] == result_list [ - 1 ] : pass else : result_list . append ( list1 [ idx ] ) return result_list
Eliminate duplicates in a sorted list.
Eliminate duplicates in a sorted list .
"""
    Eliminate duplicates in a sorted list.

    Returns a new sorted list with the same elements in list1, but
    with no duplicates.

    This function can be iterative.
    """
list1