Operator precedence in Python

Question:
Operator precedence ensures that...

  1. 7 + 3 * 2 causes a runtime error
  2. 7 + 3 * 2 returns 20 and not 13
  3. 7 + 3 * 2 returns 13 and not 20
Answer:
C - is the correct answer. Operator precedence gives different priority to different operators. It determines the order of operations when evaluating arithmetic expressions. In this example, 7 + 3 * 2 is evaluated as 7 + (3 * 2) = 13