<doocs>0364.Nested List Weight Sum II_2.py
def max_depth(nestedList):
    depth = 1
    for item in nestedList:
        if item.isInteger():
            continue
        depth = max(depth, max_depth(item.getList()) + 1)
    return depth
def sample_funcname ( var_1 ) :
    var_3 = 1
    for var_4 in var_1 :
        if var_4.isInteger ( ) :
            continue
        var_3 = max ( var_3 , var_0 ( var_4.getList ( ) ) + 1 )
    return var_3
