I would make it simple(ish). This returns [1] for row 0 and [1, 1] for row 1. See Wikipedia
def pascal(n): row = [1] for c in range(1,n+1): row += [row[-1]*(n-c+1)//c] return row