输出一个杨辉三角
第一个方法:
def triangles():
l = [1]
yield l #输出第一行:只有一个1的list
l = [1,1]
yield l #输出第二行,两个1的list
while T