Create a function that finds the [integral](https://en.wikipedia.org/wiki/Integral) of the expression passed.

In order to find the integral all you need to do is add one to the `exponent` (the second argument), and divide the `coefficient` (the first argument) by that new number.

For example for `3x^2`, the integral would be `1x^3`: we added 1 to the exponent, and divided the coefficient by that new number).

Notes:
* The output should be a string.
* The coefficient and exponent is always a positive integer.


## Examples

```
 3, 2  -->  "1x^3"
12, 5  -->  "2x^6"
20, 1  -->  "10x^2"
40, 3  -->  "10x^4"
90, 2  -->  "30x^3"
```

Difficulty: introductory

Starter code:

def integrate(coefficient, exponent):
	

Solutions:
def integrate(coef, exp):
    exp = exp + 1
    coef = coef / exp if coef % exp else coef // exp
    return f"{coef}x^{exp}"

def integrate(coefficient, exponent):
    return (str(coefficient // (exponent + 1)) + 'x^' + str(exponent + 1))  

def integrate(coefficient, exponent):
    return f'{coefficient // (exponent + 1)}x^{exponent + 1}'

def integrate(coefficient, exponent):
    exponent += 1
    return str(f"{coefficient // exponent}x^{exponent}")

def integrate(coefficient, exponent):
    exponent += 1
    coefficient /= exponent
    return '{}x^{}'.format(int(coefficient) if coefficient.is_integer() else coefficient, exponent)

def integrate(c, e):
    return f"{c / (e+1)}x^{e+1}".replace(".0x", "x")

def integrate(coefficient, exponent):
    return "{c}x^{e}".format(c=coefficient // (exponent + 1), e=exponent + 1)

def integrate(coeff, index):
    return '{}x^{}'.format(coeff/(index + 1), index + 1).replace('.0x', 'x')

def integrate(coefficient, exponent):
    return '{:g}x^{}'.format(coefficient/(exponent+1),exponent+1)

def integrate(c, e):
    e += 1
    return f"{c//e}x^{e}"

def integrate(coefficient, exponent):
    # write your code here
    x = exponent + 1
    return str(int(coefficient / x)) + "x^" + str(x)

def integrate(coefficient, exponent):
    new_exponent = exponent + 1
    new_coefficient = int(coefficient / new_exponent)
    
    return (str(new_coefficient) + "x^" + str(new_exponent))

def integrate(coef, exp):
    return "{}x^{}".format(int(coef/ (exp + 1)), exp + 1 )

def integrate(coefficient, exponent):
    return str(int(coefficient/(exponent+1)))+"x^"+str(exponent+1)

def integrate(coefficient, exponent):
    return str(coefficient/(exponent+1)).rstrip('0').rstrip('.') + "x^"+str(exponent+1)

integrate=lambda c,e:"{}x^{}".format(c/(e+1),e+1).replace('.0x','x')

def integrate(c, e):
    coefficient = str(c/(e+1))
    return   coefficient.rstrip('0').rstrip('.') + 'x^' + str(e + 1)

def integrate(c, e):
    return '{}x^{}'.format(int(c/(e+1)), e+1)

def integrate(coefficient, exponent):
    return f'{int(coefficient/(exponent+1))}x^{exponent+1}'

def integrate(coefficient, exponent):
    return '{}x^{}'.format(coefficient//(exponent+1), exponent+1)

def integrate(coefficient: int, exponent: int) -> str:
    """ Get the integral of the expression passed. """
    return f"{int(coefficient / (exponent + 1))}x^{exponent + 1}"

integrate=lambda c,e:f"{c//(e+1)}x^{e+1}"

def integrate(coefficient, exponent):
    exponent += 1
    coefficient /= exponent
    coefficient = (int if coefficient.is_integer() else float)(coefficient)
    return f'{coefficient}x^{exponent}'

integrate = lambda a, b: ''.join(str(i) for i in [a//(b+1), 'x^', b+1])

def integrate(coefficient, exponent):
    return '{0:.0f}x^{1:.0f}'.format(coefficient / (exponent+1), exponent+1)

def integrate(coefficient, exponent):
    # write your code here
    a = int(exponent + 1)
    b = int(coefficient / a)
    c = (str(b) + "x^" + str(a))
    return c
    


def integrate(coef, exp):
    return '{}x^{}'.format(int(coef/(exp+1)) if int(coef/(exp+1)) == coef/(exp+1) else coef/(exp+1), exp+1)

def integrate(c, exp):
    if c/(exp+1)%1 == 0:
        return '{:g}x^{}'.format(c/(exp+1), exp+1)
    else:
        return '{}x^{}'.format(c/(exp+1), exp+1)

def integrate(coefficient, exponent):
    b = exponent + 1
    a = coefficient // b
    
    return f"{a}x^{b}"
    



integrate = lambda c, e : f'{int(c/(e+1))}x^{e+1}'

def integrate(coefficient, exponent):
    inte = exponent + 1
    first = int(coefficient / inte)
    return f'{first}x^{inte}'

def integrate(coefficient, exponent):
    
    c = 1+exponent
    newco=int(coefficient/c)
    return f"{newco}x^{c}"

def integrate(coefficient, exponent):
    a = coefficient / (exponent + 1)
    a = int(a)
    return f'{a}x^{exponent + 1}'

def integrate(coefficient, exponent):
    integred_exponent = exponent + 1
    return f"{int(coefficient/integred_exponent)}x^{integred_exponent}"


def integrate(coefficient, exponent):
    return f'{str(coefficient//(exponent+1))}x^{str(exponent+1)}'

def integrate(coefficient, exponent):
    integral = coefficient // (exponent + 1)
    return '{}x^{}'.format(integral, exponent + 1)

def integrate(coefficient, exponent):
    # write your code here
    exponent += 1
    a = int(coefficient / exponent)
    return str(a)+'x^'+str(exponent)

def integrate(coefficient: int, exponent: int) -> str:
    """ Get the integral of the expression passed. """
    return f"{coefficient / (exponent + 1):.0f}x^{exponent + 1}"

def integrate(coefficient: int, exponent: int) -> str:
    return str(coefficient // (exponent + 1)) + "x^" + str(exponent + 1)

def integrate(coefficient, exponent):
    return "{coef}x^{exp}".format(coef=coefficient//(exponent+1),exp=exponent+1)

integrate = lambda c, e: 'x^'.join([str(c//(e+1)), str(e+1)])

def integrate(coefficient, exponent):
    a = exponent + 1
    b = round(coefficient / a)
    return f"{b}x^{a}"

def integrate(c, e):
    return f'{int(c / (e+1))}x^{int(e + 1)}'


# Create a function that finds the integral of the expression passed.

# In order to find the integral all you need to do is add one to the exponent (the second argument), and divide the coefficient (the first argument) by that new number.

# For example for 3x^2, the integral would be 1x^3: we added 1 to the exponent, and divided the coefficient by that new number).

# Notes:

# The output should be a string.
# The coefficient and exponent is always a positive integer.

def integrate(coefficient, exponent):
    number = str(int(coefficient/(exponent+1)))
    power = str(exponent + 1)
    return number + "x" + "^" + power 


def integrate(coefficient, exponent):
    a = int(coefficient / (exponent + 1))
    b = (exponent+1)
    return  str(a) + "x" + "^" + str(b)

def integrate(coefficient, exponent):
    x = int(coefficient / (exponent + 1))
    return str(x) + "x^" + str(exponent + 1)


def integrate(coefficient, exponent):
        exp=exponent+1
        coef=int(coefficient/exp)
        return f"{coef}x^{exp}"

def integrate(c,e):
    k=e+1
    return "{}x^{}".format(c//k,k) 

def integrate(coefficient, exponent):
    new_ex = exponent+1
    new_str = str(int(coefficient/new_ex)) + 'x^' + str(new_ex)
    return ''.join(new_str)

def integrate(coefficient, exponent):
    NewExp = exponent + 1
    NewCoe = int(coefficient / NewExp)
    
    integral = str(NewCoe) + "x^" + str(NewExp)
    
    return integral


def integrate(coefficient, exponent):
    i_co = coefficient / (exponent + 1)
    i_ex = exponent + 1
    
    return str(int(i_co)) + 'x^' + str(int(i_ex))

def integrate(coefficient, exponent):
    e = exponent +1
    f = round(coefficient * (1/e))
    return str(f)+"x^" +str(e)

def integrate(c, xp):
    return str(int(c/(xp+1))) + "x^" + str(xp+1)

def integrate(coefficient, exponent):
    return "{co}x^{exp}".format(co = coefficient//(exponent+1), exp = exponent+1)

def integrate(coefficient, exponent):
    return f'{(int(coefficient / (1 + exponent)))}x^{(1 + exponent)}'

integrate = lambda coefficient, exponent: f'{coefficient//(exponent+1)}x^{exponent+1}'

def integrate(coefficient, exponent):
    ex = exponent + 1
    cof = int(coefficient / ex)
    return str(cof) + "x^" + str(ex)

def integrate(coefficient, exponent):
    exp = exponent + 1
    coef = coefficient // exp
    return str(coef)+"x^"+str(exp)

def integrate(coefficient, exponent):
    coeff=int(coefficient/(exponent+1))
    ans=str(coeff)+'x^'+str(exponent+1)
    return ans

def integrate(coe, ext):
    return f'{coe // (ext + 1)}x^{ext + 1}'

def integrate(coefficient, exponent):
    integ_coeff = coefficient / (exponent + 1)
    integ_expo = exponent + 1
    
    return str(int(integ_coeff)) + "x^" + str(exponent + 1)

def integrate(co, ex):
    return '{}x^{}'.format(round(co/(ex+1)), ex+1)

def integrate(coefficient, exponent):
    coefficient = int((coefficient/(exponent+1)))
    exponent += 1
    return ("{0}x^{1}").format(coefficient, exponent)

def integrate(c, e):
    return f"{str(int(c / (e + 1)))}x^{e + 1}" 

def integrate(coefficient, exponent):
    
    
    x = exponent + 1
    y = round(coefficient/x)

    return "{}x^{}".format(y,x)

def integrate(coefficient, exponent):
    return "{0:0.0f}x^{1}".format(coefficient/(exponent+1),exponent+1)

def integrate(c, e):
    e = e + 1
    return str(c//e) + "x^" + str(e)

def integrate(coefficient, exponent):
    n = exponent+1
    return f'{int(coefficient/(n))}x^{n}'

def integrate(coefficient, exponent):
    new_exponent = exponent + 1
    new_coeff = coefficient / new_exponent
    s = str(int(new_coeff)) + "x^" + str(new_exponent)
    return s

def integrate(coefficient, exponent):
    # write your code here
    aa = int(coefficient / (exponent + 1))
    bb = exponent + 1
    return (f"{aa}x^{bb}")

def integrate(coefficient, exponent):
    e = exponent +1
    coef = coefficient/e
    
    return "{}x^{}".format(int(coef),e)

def integrate(coefficient, exponent):
    ex = exponent + 1
    coe = coefficient / ex
    return str(int(coe)) + "x^" + str(ex)


def integrate(coefficient, exponent):
    return f'{str(coefficient // (exponent + 1))}x^{(exponent + 1)}'


def integrate(coefficient, exponent):
    exponent = exponent + 1
    coefficient = coefficient / exponent if coefficient % exponent else coefficient // exponent
    return f'{coefficient}x^{exponent}'
    



def integrate(coefficient, exponent):
    new_exp = exponent+1
    new_coef = int(coefficient / new_exp)
    return f"{new_coef}x^{new_exp}"

integrate = lambda co,ex: f'{int(co/(ex+1))}x^{ex+1}'

def integrate(coefficient, exponent):
    return str(int(coefficient / (1 + exponent))) +"x^" + str(1 + exponent)

def integrate(c, e):
    integral = int(c / (e+1))
    return f'{integral}x^{e+1}'

def integrate(coefficient, exponent):
    return '%ix^%i' % ((coefficient / (exponent + 1)), (exponent + 1))
#     return 'x^'.join((str(coefficient // (exponent + 1)), str(exponent + 1)))


def integrate(coefficient, exponent):
    new_coefficient = str(coefficient//(exponent+1))
    new_exponent = str(exponent + 1)
    return (F"{new_coefficient}x^{new_exponent}")

def integrate(coefficient, exponent):
    exp=exponent+1
    cof=int(coefficient/exp)
    list=[str(cof),"x^",str(exp)]
    return "".join(list)
    
    # write your code here


def integrate(coefficient, exponent):
    a=round(coefficient/(exponent+1))
    b=exponent+1
    return ("{}x^{}".format(a,b))

def integrate(coef, ex):
    return f'{int(coef/(ex+1))}x^{ex+1}'

integrate = lambda coeff, exp: f'{coeff // (exp + 1)}x^{exp + 1}'

def integrate(coefficient, exponent):
    s = int(coefficient/(exponent+1))
    d = exponent+1
    return str(s)+'x'+'^'+str(d)
w = integrate(12,5)
print(w)

def integrate(c, e):
    # write your code here
    e = e+1
    c = c/e
    i =''
    return i + str(int(c)) + 'x^' + str(int(e))


def integrate(coefficient, exponent):
    
    result_1=((coefficient/(exponent+1)))
    result_2=((exponent+1))
    
           
    result=str(int(result_1))+"x^"+str(result_2)
   
    
    return result
    
    return result


def integrate(c, exp):
  return f'{str(round(c/(1+exp)))}x^{str(1+exp)}'

def integrate(coefficient, exponent):
    exponent += 1
    num = int(coefficient / exponent)
    return f'{num}x^{exponent}'

def integrate(coefficient, exponent):
    e1 = exponent + 1
    r  = int(coefficient / e1)
    return '{}x^{}'.format(r,e1)

integrate = lambda coefficient, exponent: str(coefficient // ( exponent + 1 )) + 'x^' + str( exponent + 1 )


def integrate(co, ex):
    return "{}x^{}".format(int(co/(ex+1)) , ex+1)

def integrate(coefficient, exponent):
    exp = exponent + 1
    coeff = int(coefficient / exp)
    return f'{coeff}x^{exp}'

def integrate(coefficient, exponent):
    end = exponent + 1
    begin = coefficient // end
    return str(begin) + 'x^' + str(end)

def integrate(coefficient, exponent):
    exponent=exponent+1
    coefficient=coefficient//exponent
    return str(coefficient) + "x" +"^" + str(exponent)

def integrate(x, y):
    z =y+1
    v = x//z
    return "{}x^{}".format(v,z)


def integrate(coefficient, exponent):
    exponent += 1
    coefficient //= exponent
    return f'{coefficient}x^{exponent}'

def integrate(coefficient, exponent):
    exponent+=1
    coefficient/=exponent
    return '{0}x^{1}'.format(int(coefficient),exponent)

def integrate(coefficient, exponent):
    return str("{}x^{}".format((coefficient//(exponent+1)), (exponent+1)))

def integrate(coefficient, exponent):
    exponent += 1
    coefficient = coefficient // exponent
    return "{0}x^{1}".format(coefficient,exponent)