PDA

View Full Version : When to use Tuples when to use Lists



Martin
09-22-2010, 11:11 AM
Hi,

I was generally wondering how you guys descide when to use a List and when to use a Tuple.

The Python Documentation tells me something about "set - unchangable values" for Tupeles, but I don't really get the benefit of a Tuple.

Martin

Steve Baer
09-22-2010, 02:25 PM
http://stackoverflow.com/questions/626759/whats-the-difference-between-list-and-tuples-in-python