What\'s the difference between () vs [] vs {} in Python?
They\'re collections? How can I tell when to use which?
A tuple is a sequence of items that can't be changed (immutable).
A list is a sequence of items that can be changed (mutable).
A dictionary is a list of key-value pairs, with unique keys (mutable). From Python 2.7/3.1, {}
can also represent a set of unique values (mutable).