        else:

            if coef[e] == 1:

                r += '+x^' + str(e)

            elif coef[e] == -1:

                r += '-x^' + str(e)

            elif coef[e] < 0:

                r += str( coef[e] ) + 'x^' + str(e)

            elif coef[e] > 0:

                r += '+' + str( coef[e] ) + 'x^' + str(e)

    

    return r



print( polynome(-1,0,-2) )