3 ms·
In python, you could also type >>>a + [4] [1,2,3,4] and b would be unaffected. This is logically consistent, assignment is not the same as doing an in pl
by version_five 5y ago
In python, you could also type
>>>a + [4]
[1,2,3,4]
and b would be unaffected. This is logically consistent, assignment is not the same as doing an in place operation. I don't have an explanation for the java one