Calculating p for combinations
For a given number r representing number of occurences in n sets of k elements chosen randomly from a single l element set A, calculate the probability of acquiring r or more occurences assuming that the probability of randomizing any element from A is uniform.
It should look similar to something like this:
def calculate_p (r, k, l):
calculate combinations
return (p)
No idea where I should put it though.