def calc_deriv(polynomial):
    """
    Inputs:
        polynomial (list<float,int>) - current polynomial coefficients

    Returns:
        A new list of polynomial coefficients resulting from taking the
        derivative of the polynomial expression.

    """
    pass # your code here

def calc_integral(polynomial, constant):
    """
    Inputs:
        polynomial (list<float,int>) - current polynomial coefficients
        constant (float, int) - constant term in the new polynomial

    Returns:
        The list of polynomial coefficients resulting from taking the integral
        of the expression.
    """
    pass # your code here

if __name__ == "__main__":
    # Local testing -- feel free to add your own tests as well!

    poly = [0, 0, 0.5, 4] # represents .5 x^2 + 4 x^3
    print(f"Got {calc_deriv(poly)=}, Expected=[0, 1.0, 12]")
    # Expected represents x  + 12 x^2

    poly2 = [3, 2] # represents polynomial 2x + 3
    print(f"Got {calc_integral(poly2, 15)=}, Expected=[15, 3.0, 1.0]")
    # Expected represents 15 + 3x + x^2