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')