Sep-12-2021, 02:58 PM
Hi all
>>> a = "this is test string" >>> b = "this is test string" >>> a == b True >>> a is b False >>> a = "test" >>> b = "test" >>> a is b TrueWhy is
a is b
True
in the second time compared to first time. If appears when the string with multiple words causes the it produce. AIs this because the underlying memory management is different?