git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clarification on Immutability please


On 01/21/2020 10:55 AM, Michael Torrie wrote:

> Slicing
> returns a new object whether one is slicing a tuple, list, or a string,
> the latter two are mutable objects.

Strings are not mutable.

--
~Ethan~