I'm using the pow
function and found out I had a bug in my code because ==
and is
were not having the same behavior.
Here goes an example: pow(3, 47159012670, 47159012671) == 1
returns True
but pow(3, 47159012670, 47159012671) is 1
returns False
.
I'd like to know what is it that I'm not getting.