Which out of the following Python functions/methods can never be used with…
2026
Which out of the following Python functions/methods can never be used with tuple?
- A.
max
- B.
insert
- C.
index
- D.
sorted
Attempted by 231 students.
Show answer & explanation
Correct answer: B
Tuples in Python are immutable data structures, meaning their contents cannot be changed or modified after creation. The insert method is specific to mutable lists and does not exist for tuples, making it impossible to call directly on a tuple object. In contrast, built-in functions like max and sorted, along with the tuple method index, all operate correctly on tuple iterables.