Discussion :: Python MCQs
-
What is the value of x if:x = int(43.55+2/2)
Answer : Option B
Explanation :
The expression shown above is an example of explicit conversion. It is evaluated as int(43.55+1) = int(44.55) = 44. Hence the result of this expression is 44.
Be The First To Comment