Python is consistent about modular arithmetic, like Mathematica

In all my years of computer programming, I have accepted that modular arithmetic works differently with negative numbers than positive…