def cal(n):
if n == 1:
return [1]
else:
x = cal(n-1)
return [1] + [x[i]+x[i-1] for i in range(1,len(x))] + [1]
I didnt know "Pascal’s Triangle" , nor did I google, maybe I just got lucky.
(No CS degree, self-taught)
hey jeff, Im die hard fan of you,I wanna get in! is there any payment arrangement so i can payback the tuition monthly? and what would be different compare to HungryAcademy ? any advantage or disadvantage ?