Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for End Zeros by mildm
def end_zeros(a: int) -> int:
return 0 if a%10>0 else 1+end_zeros(a//10) if a>9 else 1
Dec. 5, 2023
Comments: