comefrom: <qiyuangong>118_Pascal's_Triangle_1.py
code: def generate( numRows):
      result = []
      for i in range(numRows):
          result.append([0] * (i + 1))
      for i in range(numRows):
          for j in range(i + 1):
              if j == 0 or j == i:
                  result[i][j] = 1
              else:
                  result[i][j] = result[i - 1][j - 1] + result[i - 1][j]
      return result
masked: def sample_funcname ( var_0 ) :
      var_1 = [ ]
      for var_3 in range ( var_0 ) :
          var_1.append ( [ 0 ] * ( var_3 + 1 ) )
      for var_3 in range ( var_0 ) :
          for var_7 in range ( var_3 + 1 ) :
              if var_7 == 0 or var_7 == var_3 :
                  var_1 [ var_3 ] [ var_7 ] = 1
              else :
                  var_1 [ var_3 ] [ var_7 ] = var_1 [ var_3 - 1 ] [ var_7 - 1 ] + var_1 [ var_3 - 1 ] [ var_7 ]
      return var_1
  