输入n,输出n行杨辉三角
row_one=[1]
row_two=[1]
n=int(input())
for x in row_one:
print(x)
for i in range(n-1):
c=0
for j in range(len(row_one)-1):
if(len(row_one)>1):
row_two.append((row_one[c]+row_one[c+1]))
elif(len(row_one)==1):
row_two.append(1)
c+=1
row_two.append(1)
row_one=row_two
for x in row_two:
print(x),
print("\t")
row_two=[1]