Question 1
What is the output of the following Python expression?
print(-17 // 4, -17 % 4)
In Python, floor division // rounds down towards negative infinity. -17 // 4 = -5. The modulo formula is r = a - (b * (a // b)) = -17 - (4 * -5) = -17 + 20 = 3.