Which of the following operators has the highest order of precedence in Python?
2026
Which of the following operators has the highest order of precedence in Python?
- A.
**
- B.
/
- C.
+
- D.
-
Attempted by 334 students.
Show answer & explanation
Correct answer: A
In Python, operator precedence determines the order of evaluation. The exponentiation operator (**) has higher precedence than multiplication/division (/) and addition/subtraction (+ or -). Therefore, exponentiation is evaluated first.