pi 15位
e 15位
ceil(x) 浮点数向上取整
floor(x) 浮点数向下取整
pow(x,y) x的y次方
log(x)
log10(x)
sqrt(x)
exp(x)
degress(x) 弧度转角度
radians(x) 角度转弧度
sin(x)
asin(x)
seed(x) 给随机数一个种子值
random() 0,1之间的随机数
uniform(a,b) 生成一个a,b之间小数
randint(a,b) 生成一个a,b之间整数
randrange(a,b,c) 取a,b之间c为间隔数列中的一个
choice(<list>) 列表中选一个
shuffle(<list>) 列表随机打乱
sample(<list>,k) 列表中随机取k个