Count how many zeros appear before the first non-zero digit in a list of numbers.
Constraints
Example
>>> count_leading_zeros([0, 0, 5, 0, 3]) 2 >>> count_leading_zeros([1, 0, 0]) 0 >>> count_leading_zeros([0, 0, 0]) 3 >>> count_leading_zeros([]) 0
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints