> Python's rule for integer division is to round towards negative infinity. > C's rule (if it has one; I think it may be platform dependent) is to round > towards 0. Ah OK. That makes sense, and it's something I'll have to keep in mind later on. Thanks y'all for your answers, I feel quite edified now :)