This code calculates the probability of at least two people, from a set (e.g., students in a classroom), were born on exactly the same day.
It seems that if there is around 60 people in the set, the probability is almost 1, meaning that almost for sure that there is at least two people having the same birthday.