Is there a math nCr function in python? [duplicate]

Possible Duplicates:
Statistics: combinations in Python
counting combinations and permutations efficiently
Project euler problem in python (problem 53)

I’m looking to see if built in with the math library in python is the nCr (n Choose r) function:

enter image description here

I understand that this can be programmed but I thought that I’d check to see if it’s already built in before I do.

2 Answers
2

Leave a Comment