Clarification on Immutability please

Ethan Furman ethan at stoneleaf.us
Tue Jan 21 20:52:54 EST 2020


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~


More information about the Python-list mailing list