Values & References18 / 18
Up next

A tuple can hold a mutable object

row = (1, [2, 3])
# the tuple is fixed, but the inner list is not
row[1].append(4)
print(row)
What you're solving

immutability is shallow