Examveda

What will be the output of the following Python code?
>>> a=(1,2,3,4)
>>> del(a[2])

A. Now, a=(1,2,4)

B. Now, a=(1,3,4)

C. Now a=(3,4)

D. Error as tuple is immutable

Answer: Option D


This Question Belongs to Python Program >> Tuples In Python

Join The Discussion

Related Questions on Tuples in Python