def random_list_has_duplicates(m): return mylist.has_duplicates(random_day_generation_list(m))
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