专业网站建设最新报价,win7如何建设免费网站,一个人的免费高清影院,网站建设全部流程图Python exp() 函数描述exp() 函数返回 x 的指数#xff0c;。语法import mathmath.exp(x)注意#xff1a;exp() 是不能直接访问的#xff0c;需导入 math 模块#xff0c;通过静态对象调用该方法。参数x -- 数值表达式。返回值返回 x 的指数#xff0c;。实例# -*- coding…Python exp() 函数描述exp() 函数返回 x 的指数。语法import mathmath.exp(x)注意exp() 是不能直接访问的需导入 math 模块通过静态对象调用该方法。参数x -- 数值表达式。返回值返回 x 的指数。实例# -*- coding: UTF-8 -*-import math # 导入 math 模块print math.exp(2) : , math.exp(2)print math.exp(100.12) : , math.exp(100.12)print math.exp(100.72) : , math.exp(100.72)print math.exp(119L) : , math.exp(119L)print math.exp(math.pi) : , math.exp(math.pi)输出math.exp(2) : 7.38905609893math.exp(100.12) : 3.03084361407e43math.exp(100.72) : 5.52255713025e43math.exp(119L) : 4.7978133273e51math.exp(math.pi) : 23.1406926328python学习网大量的免费python视频教程欢迎在线学习