結果 : write an algorithm to insert an element at given index in an array. in python