当我计算出 24! 使用数学库,结果与24相比不同!除以 25 计算!by 25.这是为什么?
>>> import math >>> f=math.factorial(25) >>> int(f/25) 620448401733239409999872 >>> math.factorial(24) 620448401733239439360000 >>>
python division factorial python-2.7 python-3.x
division ×1
factorial ×1
python ×1
python-2.7 ×1
python-3.x ×1