sun = 1
for x in range(100): #循环0-99
sun = sun * (x + 1)
print(sun)
hhd = str(sun) #将输出的值sun转换成字符赋值给hhd
print(len(hhd)) #用len判断字符串hhd的位数
>93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
158