+ 1
how do you write a code that calculates the probability of everyone wearimg blue on monday?
please answer!!!
3 Réponses
+ 3
This question doesn't give you too much information. But, let's say, there are 30 people. They each have 10 clothes, which they pick one randomly. They have 1/10 chance to do so. There are 30 people, so the chance of everyone wearing blue is (1/10)^30. The point I'm trying to make, is to actually do your homework and not just give us an abstract idea of what he task is to do it for you.
https://www.sololearn.com/discuss/1316935/?ref=app
+ 1
thanks!