1 What will be the value of the following Python expression? 4+2**5//10 1 point
Answers
Answered by
10
Explanation:
What will be the value of X in the following Python expression?
X = 2+9*((3*12)-8)/10
a) 30.0
b) 30.8
c) 28.4
d) 27.2
View Answer
Answer: d
Explanation: The expression shown above is evaluated as: 2+9*(36-8)/10, which simplifies to give 2+9*(2.8), which is equal to 2+25.2 = 27.2. Hence the result of this expression is 27.2.
Answered by
0
Answer:
7
Explanation:
The above expression will be evaluated as 4+32//10.
So, it will 4+3 = 7.
Similar questions