Week 2 Practice coding Assignment Exercise 2 and 3

I used the math.exp and np.exp but my all test cases are not passed. idk why

numpy.exp works for arrays and math.exp works only for scalars .