Texts: Task 3: In the code cell below, complete the function insertSecond which takes two arguments, array a and element b, and returns an array where b is inserted before the second element in a.
[]: # You should return your result.
import numpy as np
def insertSecond(a, b):
# YOUR CODE HERE
raise NotImplementedError()
[]: assert np.array_equal(insertSecond(np.array([-5,-10,-12,-6]),5),np.array([-5,5,-10,-12,-6]))
assert np.array_equal(insertSecond(np.array([1,2,3]),7),np.array([1,7,2,3]))
[]: