I have spent a lot of try to try solv ethis one it runs fine in my computer . can any one plese help me out on where i am going on wrong thanks a lot in advance
The problem code is fctr i think
import math
def numzero(num):
sum = 0
n = 0
while int(num) >= int(5**n) :
n+=1
sum = sum + math.floor((num/(5**n)).real)
return sum
counter = 0
cases = raw_input()
list = []
while counter < int(cases):
n = raw_input()
list.append(numzero(int(n)))
counter = counter + 1
counter = 0
while counter < int(cases):
print int(list[counter])
fctr counter = counter + 1