'11' + '1' is '111'?

metal metal29a at gmail.com
Thu Oct 29 20:43:01 EDT 2009


'11' + '1' == '111' is well known.

but it suprises me '11'+'1' IS '111'.

Why? Obviously they are two differnt object.

Is this special feature of imutable object?



More information about the Python-list mailing list