python % operator
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/43775/modulus-operation-with-negatives-values-weird-thing">Modulus operation with negatives values - weird thing ??</a>  </p>
</blockquote>



<p>Why python % operator gives different from other programming languages result?
In C++: -12 % 5 = -2
In Java: -12 % 5 = -2
In Python: -12 % 5 = 3
why?</p>
