Examveda

Is the following Python code valid?
>>> a=(1,2,3,4)
>>> del a

A. No because tuple is immutable

B. Yes, first element in the tuple is deleted

C. Yes, the entire tuple is deleted

D. No, invalid syntax for del method

Answer: Option C


This Question Belongs to Python Program >> Tuples In Python

Join The Discussion

Related Questions on Tuples in Python