摘要: 数学 math模块为浮点运算提供了对底层C函数库的访问: import math math.cos(math.pi / 4) 0.70710678118654757 math.log(1024, 2) 10.0 random提供了生成随机数的工具。 import random random.choi 阅读全文
posted @ 2021-11-22 23:15 巩云龙 阅读(45) 评论(0) 推荐(0) 编辑