主要在于怎么获取后面7个0,结果也算出来了,顺便大家看看有问题没。代码如下:
import math shu=int(input()) num=1 for i in range(1,shu+1): num*=math.factorial(i)