Skip to content

Instantly share code, notes, and snippets.

@mainroach
Created March 21, 2017 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mainroach/4c579fa717d2dfd690151f831ed28c96 to your computer and use it in GitHub Desktop.
Save mainroach/4c579fa717d2dfd690151f831ed28c96 to your computer and use it in GitHub Desktop.
def pascDiag(row,length):
vals=[0]*length
for i in range(length):
vals[i]=pascalIndexInRowFast(row+i,i)
return vals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment