<qiyuangong>066_Plus_One_2.py
def plusOne( digits):
    ls = len(digits)
    for index in reversed(range(ls)):
        if digits[index] < 9:
            digits[index] += 1
            return digits
        else:
            digits[index] = 0
    digits.insert(0, 1)
    return digits
def sample_funcname ( var_0 ) :
    var_2 = len ( var_0 )
    for var_5 in reversed ( range ( var_2 ) ) :
        if var_0 [ var_5 ] < 9 :
            var_0 [ var_5 ] += 1
            return var_0
        else :
            var_0 [ var_5 ] = 0
    var_0.insert ( 0 , 1 )
    return var_0
