TIL Parity check with %

from blog Shubh's Digital Garden Blog, | ↗ original
The result of modulo operator (%) varies between programming languages especially when one of the operand is negative.