CBSE Class 12 Computer Science
Question 24 of 105
Python Revision Tour — Question 8
Back to all questions0
Reason — According to operator precedence, floor division (//) and remainder (%) both have equal precedence hence the expression will be evaluated from left to right.
A % B // A
= 16 % 15 // 16
= 1 // 16
= 0