Tuple

List

examples/lists/totuple.py
from __future__ import print_function

l = ['abc', 'def', 'qqrq']
t = tuple(l)
print(l) # ['abc', 'def', 'qqrq']
print(t) # ('abc', 'def', 'qqrq')

Tuples are rarely used. There are certain places where Python or some module require tuple (instead of list) or return a tuple (instead of a list) and in each place it will be explained. Otherwise you don't need to use tuples. e.g. keys of dictinoaries can be tuple (but not lists).