Calculate the number of trailing zeros in n! Python 50 47 Characters n=input() x=5 s=0 while n/x:s+=n/x;x*=5 print s