evaluate_formula(a, b, c, d) that returns the result of the expression a + b * c 2 - d / 2</code>, applying Python's standard operator precedence (<code> highest, then *//, then +/-) without adding any explicit parentheses of your own to change the grouping.evaluate_formula(1, 2, 3, 4)
17.0
1 + 2*9 - 4/2 = 1 + 18 - 2.0 = 17.0 (** binds before *, which binds before +/-).
evaluate_formula(0, 0, 0, 0)
0.0
All terms are zero.
Just write the expression literally: `a + b * c ** 2 - d / 2`; Python's precedence handles the rest.
Remember `/` always produces a float, which makes the whole result a float.