Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64 bit (AMD64)] on win32
Type “copyright”, “credits” or “license()” for more information.
>>> a=”ddd”
>>> b=”ddd”
>>> a is b
True
>>> a=”aas d”
>>> b=”aas d”
>>> a is b
False
>>> a==b
True
>>> a=”中”
>>> b=”中”
>>> a is b
False
>>> a==b
True
>>>

分类:

程序开发,

最后更新: 5月 13, 2014