Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Uncategorized category for End Zeros by melitaele
def end_zeros(num: int) -> int:
result = 0
st = str(num)
while st.endswith('0'):
result += 1
st = st[:-1]
return result
April 23, 2021