Vidyalelo
Python · Q47

Python Operator Precedence: MCQs for Exam Prep

Programming · Python · question 47

Q47

What is the result of 12 // (4 * 2) ?

A.
1
Answer
B.
2
C.
3
D.
0

Answer: Option A

Solution

Answer: Option A
Solution:
Parentheses have the highest precedence, so the expression inside them is evaluated first.