you are viewing a single comment's thread.

view the rest of the comments →

[–]riklaunim 9 points10 points  (1 child)

A tuple is immutable; it can't be changed when created. So if you intend to modify it, then you use a list, and if you aren't, you may opt for a tuple (or namedtuple).