Examveda What is the result of 4 + 3 ** 2 % 2 ? A. 4B. 5C. 1D. 7Answer: Option B Solution (By Examveda Team) Exponentiation has higher precedence, so 3 ** 2 is evaluated first, then modulo, and finally addition. This Question Belongs to Python Program >> Precedence And Associativity
Solution (By Examveda Team) Exponentiation has higher precedence, so 3 ** 2 is evaluated first, then modulo, and finally addition.
Join The Discussion