M
Q. What will be the output of the following
Python expression?
24//6%3, 24//4//2
Explanation by: Mr. Dubey
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.
You must be Logged in to update hint/solution
Be the first to start discuss.
Question analytics

Discusssion
Login to discuss.