Got this by PURE OBSERVATION!


#1
def trailingZeroes(self, A):
    fives=[5]
    for i in range(30):
        fives.append(fives[-1]*5)
    count=0
    for i in fives:
        count=count+A//i
    return count