Programming and Problem Solving through Python : Operators Expressions and Python Statements

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

The expression 2**2**3 is evaluates as: (2**2)**3.




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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad