What is the output of the following code ?
>>> s = [23, 24, 26, 56, 78] >>> s.insert(3, 12) >>> s
[23, 24, 12, 26, 56, 78]
[23, 24, 26, 12, 56, 78]
[23, 24, 26, 56, 78]
Error
s.insert(3, 12) will insert 12 at index 3. So the result will be [23, 24, 26, 12, 56, 78]
Comment here: