Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1line solution in Clear category for Beginning Zeros by wooilkim
def beginning_zeros(number: str) -> int:
return len(number) - len(number.lstrip('0'))
May 25, 2021
Comments: