N choose k

    binomial combination (without replacement)
    scipy.special.binom

def choose(n, k):
    """
    N choose k

    binomial combination (without replacement)
    scipy.special.binom
    """
    import scipy.misc
    return scipy.misc.comb(n, k, exact=True, repetition=False)