TUPLE & LIST

Daniel Dittmar daniel.dittmar at sap.com
Thu Jan 15 15:48:33 CET 2004


"Yomanium Yoth Taripoät II" <Yomanium at Yomanium.com> wrote in message
news:%7xNb.55
> 1) what are the differences between list and tuple?
http://www.python.org/doc/faq/general.html#why-are-there-separate-tuple-and-
list-data-types

> 2) how to concatenate tuple and list? no method, no opérator?
listvar + list (tuplevar)
tuple (listvar) + tuplevar

> 3) im looking the fucking manual, and cant add value in my tuple, when it
> already created :/
>   how to do it?
Try the Python Manual instead:
http://www.python.org/doc/current/lib/typesseq-mutable.html
I know it's not always easy to locate the documentation for the builtin
types.

Daniel






More information about the Python-list mailing list