Question: Using Pyathon Coding. create this program and explain each function. Your task, is to write a program to calculate the probability that at least two

Using Pyathon Coding. create this program and explain each function.
Your task, is to write a program to calculate the probability that at least two
people DO share a birthday in the class right now. If your teacher has not already,
please remind them to write the number of people in the room right now.
In addition to submitting your code,
please also return this sheet with your answers written below.
In this room of ____
people, the probability of
at least two people sharing
the same birthday is: ____%
For a 50% probability, the minimum
number of people needed is: ____.
Player one:_______________________
n =123... n
#People; Probability
n: 1; Prob: 0.0%
n: 2; Prob: 0.27%
n: 3; Prob: 0.82%
n: 4; Prob: 1.64%
n: 5; Prob: 2.71%
n: 6; Prob: 4.05%
n: 7; Prob: 5.62%
n: 8; Prob: 7.43%
n: 9; Prob: 9.46%
n: 10; Prob: 11.69%
n: 11; Prob: 14.11%
n: 12; Prob: 16.7%
n: 13; Prob: 19.44%
n: 14; Prob: 22.31%
n: 15; Prob: 25.29%
n: 16; Prob: 28.36%
n: 17; Prob: 31.5%
n: 18; Prob: 34.69%
n: 19; Prob: 37.91%
n: 20; Prob: 41.14%
n: 21; Prob: 44.37%
n: 22; Prob: 47.57%
n: 23; Prob: 50.73%
n: 24; Prob: 53.83%
n: 25; Prob: 56.87%
n: 26; Prob: 59.82%
n: 27; Prob: 62.69%
n: 28; Prob: 65.45%
n: 29; Prob: 68.1%
n: 30; Prob: 70.63%
n: 31; Prob: 73.05%
n: 32; Prob: 75.33%
n: 33; Prob: 77.5%
n: 34; Prob: 79.53%
n: 35; Prob: 81.44%
n: 36; Prob: 83.22%
n: 37; Prob: 84.87%
n: 38; Prob: 86.41%
n: 39; Prob: 87.82%
n: 40; Prob: 89.12%
n: 41; Prob: 90.32%
n: 42; Prob: 91.4%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!