>>> def polynomial(a, b, c, x): ... first = a * x * x ... second = b * x ... third = c ... return first + second + third ... >>> polynomial(2, 3, 4, 0.5) 6.0 >>> polynomial(2, 3, 4, 1.5) 13.0