OnlinePython

Changing Tuples Exercise

Question 1 of 4

What happens when you try to modify a tuple element?

colors = ('red', 'green', 'blue')
colors[1] = 'yellow'