math库下的常用函数(持续更新) math.factorial() 阶乘函数 import math print math.factorial(6) #输出为 720 #math.factorial(6)=6*5*4*3*2*1