पायथन में निम्नलिखित अभिव्यक्ति का परिणाम क्या होगा
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
A)
B)
C)
D)
Explanation:
Let's break down the expression:
2 ** 3 + 5 ** 2
-
Exponentiation first (since
**
has higher precedence):2 ** 3 = 8
5 ** 2 = 25
-
Now, perform the addition:
8 + 25 = 33
So, the result is 33.
The correct answer is (B) 33.