Light Mode
Dark Mode
Something won't work in end_zeros, but what ?

Hello, I try to valid this function, but when I run, nothing appends for 30 seconds. When I try to check, I have an "ErrorUserRunSecondProcess" message. Why can't I have a good result.

My function :

def end_zeros(i: int) -> int:
    result = 0
    while i % 10 == 0:
        i /= 10
        result += 1
    return result
Created: March 2, 2021, 9:31 p.m.
Updated: March 3, 2021, 7:47 a.m.
0
4
User avatar
gromelicde