निम्नलिखित पायथन अभिव्यक्ति का मूल्य क्या होगा?
What will be the value of the following Python expression?
4+2**5//10
A)
B)
C)
D)
Explanation:
The expression 4 + 2**5 // 10
follows the order of operations:
- 2 raised to the power of 5 gives 32 (
2**5 = 32
). - Integer division of 32 by 10 results in 3 (
32 // 10 = 3
). - Finally, add 4 to 3:
4 + 3 = 7
.
Thus, the output is 7.