tuple object does not support item assignment error in python. If you change the tuple key value exists in the tuple then this error is come. You can't change the tuple key value.
Traceback (most recent call last):
File "c:\Users\ukv-208\Downloads\prac\python\listanditsfunction.py", line 23, in <module>
tuple123[1] = "asasd"
~~~~~~~~^^^
TypeError: 'tuple' object does not support item assignment
PS C:\Users\ukv-208>
Thanks you for commenting your questions. I will see question and respond you.