Created
July 9, 2017 13:04
-
-
Save peroon/c3ea56171f994dc3062c7a2d1955f68d to your computer and use it in GitHub Desktop.
This file contains 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 Combination(n, m): | |
f = math.factorial | |
return f(n) // f(m) // f(n - m) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment