A list vs. tuple situation in Python

Posted by Alphonse on Stack Overflow See other posts from Stack Overflow or by Alphonse
Published on 2010-02-17T13:17:34Z Indexed on 2010/03/12 7:27 UTC
Read the original article Hit count: 275

Filed under:
|
|
|

Is there a situation where the use of a list leads to an error, and you must use a tuple instead?

I know something about the properties of both tuples and lists, but not enough to find out the answer to this question. If the question would be the other way around, it would be that lists can be adjusted but tuples don't.

© Stack Overflow or respective owner

Related posts about python

Related posts about list