<doocs>1742.Maximum Number of Balls in a Box_1.py
def countBalls( lowLimit: int, highLimit: int) -> int:
    counter = [0] * 60
    for i in range(lowLimit, highLimit + 1):
        s = 0
        while i:
            s += i % 10
            i //= 10
        counter[s] += 1
    return max(counter)
def sample_funcname ( var_0 : int , var_2 : int ) -> int :
    var_5 = [ 0 ] * 60
    for var_8 in range ( var_0 , var_2 + 1 ) :
        var_9 = 0
        while var_8 :
            var_9 += var_8 % 10
            var_8 //= 10
        var_5 [ var_9 ] += 1
    return max ( var_5 )
