Python的傻样

 
Python2.4测试如下:(真是傻样的)

>>> i = 99
>>> i is 99
True
>>> i = 100
>>> i is 100
False
>>>

你可能感兴趣的:(python,测试)