On 03/04/16 18:31, Abhijeet via Tutor wrote:
> want the zero trailed form this :check the code please:
> num=int(raw_input())
> fact=0for x in xrange(1, num+1): fact= fact*x str(fact)l= len(fact)for x in
> reversed(xrange(l)): if x==0: c+=1print c
> having issue in this code ..?
Unfortunately you
want the zero trailed form this :check the code please:
num=int(raw_input())
fact=0for x in xrange(1, num+1): fact= fact*x str(fact)l= len(fact)for x in
reversed(xrange(l)): if x==0: c+=1print c
having issue in this code ..?
___
Tutor maillist - Tutor@