White RoomNEW White Room DSA

Tuple Item Assignment Fails

point = (10, 20)
coords = [10, 20]

coords[0] = 99

try:
    point[0] = 99
except TypeError as e:
    print("TypeError:", e)

print(coords, point)

What does this print?