Python versus C.

Modulus

C/Python different behaviour of the modulo operation