1

This unexpected behavior surprised me:

>>> a = 256
>>> a is 256
True
>>> b = 257
>>> b is 257
False

Why is that?

Thyrst'
  • 2,253
  • 2
  • 22
  • 27

0 Answers0