Suppose I create a tuple like so:
>>> a = (1, 2, 3,)
I want to modify it:
>>> a[0] = 10
But this causes an exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment
Why is it not possible to modify the tuple?