Report Bug

QusThe expression 2**2**3 is evaluates as: (2**2)**3. Qusएक्सप्रेशन 2 ** 2 ** 3 के रूप में मूल्यांकन किया जाता है: (2 ** 2) ** 3।


A. TRUE
B. FALSE


Solution
B. FALSE



Explanation
The value of the expression (2**2)**3 = 4**3 = 64. When the expression 2**2**3 is evaluated in python, we get the result as 256, because this expression is evaluated as 2**(2**3). This is because the associativity of exponentiation operator (**) is from right to left and not from left to right.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad