Values & References9 / 18
Up next

Tuples are immutable

point = (3, 4)
try:
    # tuples do not support item assignment
    point[0] = 5
except TypeError as e:
    print("cannot mutate:", e)
print(point)
What you're solving

you cannot reassign a tuple element