class Solution: def generate(self , num: int) -> List[List[int]]: # write code here triangle=[] triangle.append([1]) for i in range(num-1): triangle.append([x+y for x,y in zip([0]+triangle[i],triangle[i]+[0])]) return triangle 杨辉三角第n行等于第n-1...