Vidyalelo
Python · Q48

Python Operator Precedence: MCQs for Exam Prep

Programming · Python · question 48

Q48

Which operator has the highest precedence in Python?

A.
+
B.
*
C.
/
D.
**
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The exponentiation (**) operator has the highest precedence.