you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 years ago*

js is similar, though it does not include python's precalculated numbers
calculates integers from -5 to 256, see:

> a = 100
> b = 100
> c = 1000
> d = 1000
> a is b
True
> c is d
False
  • source
  • parent