I happen to realize the following:
a = 'hello'
b = 'hello'
a is b
>> True
whereas
a = 'hello world'
b = 'hello world'
a is b
>> False
If there's no space, the two variables are the same, but if there is they are different.
Why is that?
(I don't need people telling me to use ==
instead of is
. I know that.)