help me plz in this code made in python language

http://www.codechef.com/viewsolution/6824100

Since the constraints are large (T<=10^5 and N<=10^9), brute force wont work. You might want to try out some basic-math to figure out the logic behind finding the no of trailing zeros in N!. You may take help from the given editorial or here.