summaryrefslogtreecommitdiff
path: root/progs/a391.py
blob: 997ab6ce5250353124a6e1250c2af2df7290aa34 (plain)
1
2
3
4
5
6
def binomial_Coeff(n,k): 
    if k > n : 
       return 0
    if k==0 or k ==n : 
        return 1 
    return binomial_Coeff(n-1,k-1) + binomial_Coeff(n-1,k)