KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Which of the following function is applicable in a tuple?

  1. insert
  2. append
  3. del
  4. None of these

Python Tuples

1 Like

Answer

del

Reason — A tuple is immutable, so elements cannot be inserted or appended, but the entire tuple can be deleted using the del keyword.

Answered By

2 Likes


Related Questions