Created
March 21, 2017 15:41
-
-
Save mainroach/cd7a2d3bb4ef023b6258147859bcaf66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pascalIndexInRow(row,index): | |
tb = math.factorial(row)/math.factorial(row-index) | |
tb = tb / math.factorial(index) | |
return tb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment