Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Beginning Zeros by saklar13
def beginning_zeros(number: str) -> int:
return len(number) - len(number.lstrip('0'))
Oct. 8, 2020