def get_coeffs(polynomial_regression):
    """ Gets the coefficients for a model polynomial out of the Pipeline 
    object in the form of a list with the coefficients ordered 
    from x**0 to x**i for a polynomial of i degrees.
    """
    params = polynomial_regression.get_params()
    poly_reg = params["poly_reg"]
    coeffs = poly_reg.intercept_
    coeffs = list(coeffs)
    coeffs.extend(list(poly_reg.coef_[0]))
    print(f"Coefficients: {coeffs}")
    return coeffs