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