Merge values all values after X into the last value

def _merge_last(values, merge_after, merge_with=' '):
    '''
    Merge values all values after X into the last value
    '''
    if len(values) > merge_after:
        values = values[0:(merge_after-1)] + [merge_with.join(values[(merge_after-1):])]

    return values