Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
count while num % 10 == 0 solution in Clear category for End Zeros by Olpag
def end_zeros(num):
count = 0
if num == 0: return 1
while num % 10 == 0:
count += 1
num //= 10
return count
Feb. 27, 2020