Q50
What is the result of 10 / 2 ** 2 * 2 ?
A.
5
AnswerB.
2
C.
10
D.
2.5
Answer: Option A
Solution
Answer: Option A
Solution:
Exponentiation has higher precedence, so 2 ** 2 is evaluated first, then multiplication and division follow.