I have a list A=[[1,2],[2,3],[4,5]] and i want to insert [2,2] at index=1 in list A. What should i do? I am not suppose to use any package for this. The final array will be: A=[[1,2],[2,2],[2,3],[4,5]] The following code I used but it is giving error:
A.insert([2,2],1)