Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
recursive solution in Clear category for End Zeros by juestr
def end_zeros(num: int) -> int:
d, r = divmod(num, 10)
return 0 if r else 1 + (d and end_zeros(d))
Feb. 28, 2020
Comments: