4 ms·
In the context of strings, that's not true, and very commonly accepted: "a" + "b" == "ab" "b" + "a" == "ba"
by glandium 8y ago
In the context of strings, that's not true, and very commonly accepted:
"a" + "b" == "ab"
"b" + "a" == "ba"
- BerislavLopac 8y agoUsing + for string concatenation was an error introduced early in Python's design, and is to difficult to repair now.