<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_appended_name(name, columns):
 """ Append numbers to a name until it no longer conflicts with the other names in a column. Necessary to avoid overwriting columns and losing data. Loop a preset amount of times to avoid an infinite loop. There shouldn't ever be more than two or three identical variable names in a table. :param str name: Variable name in question :param dict columns: Columns listed by variable name :return str: Appended variable name """

    loop = 0
    while name in columns:
        loop += 1
        if loop > 10:
            logger_misc.warn("get_appended_name: Too many loops: Tried to get appended name but something looks wrong")
            break
        tmp = name + "-" + str(loop)
        if tmp not in columns:
            return tmp
    return name + "-99"