CBSE · 083Class XII · 2023Section A1 mark
Question 03
30 March 2023 · Computer Science (083)
Given the following Tuple Tup= (10, 20, 30, 50) Which of the following statements will result in an error ?
Answer
(b) Tup.insert (2,3)
Explanation
Tuples are immutable in Python, so they do not support methods like insert() that modify the collection.