Why python tuple cannot changes element ? I know that how change tuple. Giving me a reason for cannot changes element.
like below:
a= (1, 2, 3,)
>
a[0] = 10 Traceback (most recent call last): File "", line 1, in TypeError: 'tuple' object does not support item assignment