Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for End Zeros by estelle.doriot
def end_zeros(num: int) -> int:
return len(str(num)) - len(str(num).rstrip("0"))
July 25, 2023
Comments: