Vidyalelo
Python · Q53

MCQs on Python Tuples: Exam

Programming · Python · question 53

Q53

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board