Is the following Python code valid?
>>> a=(1,2,3)>>> b=a.update(4,)
>>> a=(1,2,3)>>> b=a.update(4,)Is the following Python code valid?
>>> a=(1,2,3)>>> b=a.update(4,) Correct Answer No because tuples are immutable
মোঃ আরিফুল ইসলাম
Feb 20, 2025