The term mutable appears quite often in Python.
Can anyone explain what is meant by mutable and immutable sequences.

For example, Python lists are mutable.

BTW, is the below explanation correct (it is taken from a book I am reading)

Python lists are mutable sequences. They are very similar to tuples, but they
don't have the restrictions due to immutability.

It says lists are mutable and then says they are immutable???

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to