Tuples
• Tuples function almost exactly like lists with one major difference:
Immutability
◇ Cannot update an element of a tuple
# Tuples
>>> t = (
'a'
,
1
,
18.2
)
>>> t[
0
]
'a'
• Accessing elements via indexing works just like it does with lists
Index