Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have been trying to get this code in Python. I dont fully understand what it it is asking however. If someone could lease show

I have been trying to get this code in Python. I dont fully understand what it it is asking however. If someone could lease show me the code in Python and include an explanation that would be great. This is an I introductory class, so it should not required coding beyond while loops and such I have some code, but I am pretty sure it is wrong. Thank you.

image text in transcribed

Question 3(2 pts): Suppose you are in a large-lecture class with n other students. Determine how large n must be such that the probability that someone has the same birthday as you is greater than 50% ? Note: Forgetting about leap years and so assuming 365 days in a year, the probability that no one has the same birthday as you is (364/365)0 The Output: with 253 other students, the probability is greater than 50% that someone has the same birthday as you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

7. Senior management supports the career system.

Answered: 1 week ago