python杨辉三角

杨辉三角中这步具体意思是什么

img

yh[row] = [None] * (row + 1)

每行 创建一个 元素为 None 的数组,数组长度为 row + 1

这个应该是输出空白,使得看起来是一个三角形