by thisiswei · 13y ago · 0 comments
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]
who wanna hire a junior developer? I will work for free in SF,CANo comments yet.