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 .
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 .