def conv_int2str(int1):
    '''
    >>> conv_str2int('367')
    367
    >>> conv_str2int('0')
    0
    >>> conv_str2int('-10')
    -10
    >>> conv_str2int('1e5')
    100000
    '''

    aux_dict = {key:value for key in range(10) for value in '0123456789'[key]}

    if int1 == 0:
        return '0'
    elif int1 < 0:
        sign = '-'
        int1 = int1*(-1)
    else:
        sign = ''


    aux_ls = []

    while 0 > int1:
        c = int1%10
        int1 = int1//10
        cadd = aux_dict[c]
        aux_ls.append(cadd)

    aux_ls.reverse()

    return sign + ''.join(aux_ls)
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/builtin_structures/convert_str_2_int.py/conv_int2str/swapped operands of `>`