title: Codechef python runtime error
body: <p>I always get a runtime error using python for submission on codechef. Can some one please help.
  Tried answering other questions too.. same error
  Works fine on my comp though!(I use python 2.6.5 on my comp. Answer is checked with python 2.5)
  This is an easy level question where i get Runtime error
  <a href="http://www.codechef.com/problems/FCTRL/" rel="nofollow">http://www.codechef.com/problems/FCTRL/</a></p>
  
  <p>My code</p>
  
  <pre><code>import sys
  def factorial_zeros(f):
      i=0
      j=0
      for x in range (1,f+1):
          if x%10 == 0:
              while x%10 == 0:
                  x= x//10
                  i +=1
              while x%5 == 0:
                  x= x//5
                  j +=1
          elif x%5 == 0:
              while x%5 == 0:
                  x= x//5
                  j +=1
      l = i+j
      return l
  
  
  l=[]
  i=int(raw_input())
  for x in range(i):
      f = int(raw_input())
      f= factorial_zeros(f)
      if x == i-1:
          sys.stdout.write(str(f))
      else:
          print f
  </code></pre>