Modulo operator in Python

Was looking into modulo (%) operator in python. Very basic example is 14 % 3 = 2 ,

but the result is different for negative values . -14 % 3 , 14 % -3. Can anyone please explain me how it works properly ? The closest answer I got is this.