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