import mathmath.e**N或import numpy as npnp.e**N。
知识拓展:
在C语言中,10的n次方可以表示为pow(10, n),其中pow函数在头文件math.h中,所以调用该函数的时候,必须将math.h加进来,即#include
原型:extern float pow(float x, float y)。
功能:计算x的y次幂。
说明:x应大于零,返回幂指数的结果。
import math
math.e**N
或
import numpy as np
np.e**N