Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def pt(n):
trow = [1]
y = [0]
for x in range(max(n,0)):
trow=[l+r for l,r in zip(trow+y, y+trow)]
return n>=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.