Source Code:
(back to article)
string1 = "Hallo" string2 = "Hallo" string3 = "".join(["H", "a", "l", "l", "o"]) print(string1 is string2) # True print(string1 is string3) # False
Result:
Report an issue