As far as I know, in Python, [-5, 256] integers are small integers. So, I hope my result as below
a=300
b=300
a is b //False
but on my computer, it's pretty different someone can explain this please...
I tried to find the problem in the python document, but nothing much...
p.s. My environment is:
' Python 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16)
[Clang 13.0.0 (clang-1300.0.29.30)] on darwin' in Mac