factorial problem time limit exceed

help me plz in this code made in python language

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.