public function jiecheng($n)
{
$a = 5;
$count = 0;
for($a=5;$a <= $n;$a+=5){ // 循环从5开始,以5的倍数为步长,考察整数
$count++; // 若为5的倍数,计数器加1
if(!($a%25)) $count++;// 若为25的倍数,计数器再加1
}
echo 'the number of 0 in the '.$n.'! is '.$count;
}
while(num){
cnt+=num/5;
num/=5;
}
cnt+=num/5;
num/=5;
}
len(str(reduce(lambda x,y:x*y,range(1,100+1))))-len(str(reduce(lambda x,y:x*y,range(1,100+1))).strip('0'))