>>> s=(1,2,3)
>>> s=s+(4,5,6)
>>>s
(1,2,3,4,5,6)

The tuple has changed.

I thought I read that tuples are sequences (like lists), but they are
immutable - They can't be changed once created. Could someone explain
please ?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to