Python’s edge cases are just as odd as every other language
>>> a=16
>>> a*a is a*a
True
>>> a=17
>>> a*a is a*a
False
“is”, “==“, and “=“ are all very different and none of them match their mathematical equivalents very well.