<doocs>0119.Pascal's Triangle II_1.py
def getRow( rowIndex: int) -> List[int]:
    row = [1] * (rowIndex + 1)
    for i in range(2, rowIndex + 1):
        for j in range(i - 1, 0, -1):
            row[j] += row[j - 1]
    return row
def sample_funcname ( var_0 : int ) -> List [ int ] :
    var_4 = [ 1 ] * ( var_0 + 1 )
    for var_7 in range ( 2 , var_0 + 1 ) :
        for var_9 in range ( var_7 - 1 , 0 , - 1 ) :
            var_4 [ var_9 ] += var_4 [ var_9 - 1 ]
    return var_4
