for i in range(degree):
        f.write(" ^ v" + str(i) + "(v)")