What is the output of the following code ?
print(72 // 13 % 7, 72 * 13 // 7)
// and * have same precedence so it will be evaluated left to right.So 72 // 13 % 7will be evaluated as (72 // 13) % 7and 72 * 13 // 7 as (72 * 13) // 7
72 // 13 % 7
(72 // 13) % 7
72 * 13 // 7
(72 * 13) // 7
Comment here: