"hello" is "hello" == True
If two string literals are equal, they have been put to same
memory location. A string is an immutable entity. No harm can
Python (like Java, C, C++, .NET) uses string pooling / interning. The interpreter realises that "hello" is the same as "hello", so it optimizes and uses the same location in memory.
Another goodie: "hell" + "o" is "hello" ==> True