Choice Card History
History:
What will be the output of the following Python code? >>> a=(1,2,3,4) >>> del(a[2])
Talk
History
Edit
ACCEPTED
4 years ago
renyx
Name
: What will be the output of the following Python code? >>> a=(1,2,3,4) >>> del(a[2])
What will be the output of the following Python code?
a=(1,2,3,4) del(a
2
)
Now, a=(1,3,4)
Nope
Now, a=(1,2,4)
Think Again
Error as tuple is immutable
Correct , Tuple is immutable
Now a=(3,4)
Incorrect