<qiyuangong>119_Pascal's_Triangle_II_1.py
def getRow( rowIndex):
    last = [1]
    res = [1]
    for r in range(1, rowIndex + 1):
        res = [1]
        for index in range(len(last) - 1):
            res.append(last[index] + last[index + 1])
        res.append(1)
        last = res
    return res
def sample_funcname ( var_0 ) :
    var_2 = [ 1 ]
    var_3 = [ 1 ]
    for var_5 in range ( 1 , var_0 + 1 ) :
        var_3 = [ 1 ]
        for var_7 in range ( len ( var_2 ) - 1 ) :
            var_3.append ( var_2 [ var_7 ] + var_2 [ var_7 + 1 ] )
        var_3.append ( 1 )
        var_2 = var_3
    return var_3
