Esempio n. 1
0
def random_list_has_duplicates(m):
    return mylist.has_duplicates(random_day_generation_list(m))
Esempio n. 2
0
def two_birthday_probability_classic(n, m):
    cnt = 1
    for j in range(0, n):
        if mylist.has_duplicates(random_day_generation_classic(m)):
            cnt += 1
    return cnt