Discussion :: Python MCQs
-
What is the value of the following expression:24//6%3, 24//4//2
Answer : Option A
Explanation :
The expressions are evaluated as: 4%3 and 6//2 respectively. This results in the answer (1,3). This is because the associativity of both of the expressions shown above is left to right.
Be The First To Comment