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