Task 1 What are the chances of at least two people sharing the same birthday (just day and month) in a class of 40 people (s | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Task 1 What are the chances of at least two people sharing the same birthday (just day and month) in a class of 40 people (s

I need help asap

20th Nov 2018, 2:03 PM
Solomon Appiah
Solomon Appiah - avatar
2 Answers
+ 5
I won't write your code for you, but you can find the formula here: https://en.m.wikipedia.org/wiki/Birthday_problem Though I'd strongly encourage you to derive it yourself.
20th Nov 2018, 2:42 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
thanks
20th Nov 2018, 2:47 PM
Solomon Appiah
Solomon Appiah - avatar