3 ms·
There's a pretty bad mistake at the beginning: But you can change immutable object: Appending to a list contained in a tuple does not change the tuple. Th
by viraptor 8y ago
There's a pretty bad mistake at the beginning:
But you can change immutable object:
Appending to a list contained in a tuple does not change the tuple. The immutable object does not change here.
- rushter 8y agoThanks, it's a typo, I was referring to the mutable object (list).
- theduality 8y agoAlso an amusing one: "You can't assing an item to a tuple:"