摘要: 数学计算要利用相关的数学计算函数,首先需要把数学模块包含进来:>>>import math进行计算:>>> math.pi3.141592653589793>>> math.sqrt(90)9.486832980505138>>> 随机数包含随机函数:>>> randomTraceback (most recent call last): File "", line 1, in randomNameError: name 'random' is not defined& 阅读全文
posted @ 2014-03-29 13:47 wiessharling 阅读(211) 评论(0) 推荐(0)