Thanx for all the replies, I may be slowly getting it. But, can anybody explain this?
>>> a = 'hello' >>> b = 'hello' >>> a is b True >>> a = 'hello there' >>> b = 'hello there' >>> a is b False -- http://mail.python.org/mailman/listinfo/python-list
Thanx for all the replies, I may be slowly getting it. But, can anybody explain this?
>>> a = 'hello' >>> b = 'hello' >>> a is b True >>> a = 'hello there' >>> b = 'hello there' >>> a is b False -- http://mail.python.org/mailman/listinfo/python-list