Q1 list.insert()
1 markQuestion in brief Full question: CBSE paper, page 1
Write the output after insert(1, 15) is called on the list [10, 20, 25, 30].
Answer
[10, 15, 20, 25, 30]
Explanation
insert(i, x) puts x before the item now at index i, shifting the rest right. Index 1 holds 20, so 15 goes between 10 and 20. It changes the list in place and returns None.
Executed in Python 3.13; agrees with the CBSE marking scheme.