Why is int variable id's in python 2.7 only equal to 256?
id's
For example:
>>> y = 256 >>> m = 256 >>> m is y True >>> y = 257 >>> m = 257 >>> id(m) 16282096 >>> id(y) 16281952 >>> m is y False
No one has answered this question yet.
See related questions: