Vidyalelo
Python · Q18

Python Operator Precedence: MCQs for Exam Prep

Programming · Python · question 18

Q18

What is the result of 10 + 2 * 6 / 3 ?

A.
14
Answer
B.
16
C.
8
D.
12

Answer: Option A

Solution

Answer: Option A
Solution:
Multiplication and division have the same precedence and are evaluated left to right.