What is the result of 2 + 3 * 4 ?
A. 14
B. 20
C. 15
D. 10
Answer: Option A
Solution (By Examveda Team)
In Python, arithmetic operations follow precedence rules:Multiplication (*) has higher precedence than addition (+).
So, the expression 2 + 3 * 4 is evaluated as:
First, perform the multiplication: 3 * 4 = 12
Then, add 2 to the result: 2 + 12 = 14
Therefore, the result of 2 + 3 * 4 is 14.
3*4 = 3 + 3 + 3 + 3 =12 and then +2 i.e 14 please check the answer and make it correct.