Skip to main content

Probability Riddle Using Python: Family Statistics

 Riddle:

Do men have more sisters than women?


Python Solution & Discussion:

At first, I got the solution wrong because I assumed in a family of 1 boy and 2 girls a boy would have 2 sisters while the girl would have one sister and this resulted in this wrong solution on my end:


But the right way to think about it is that in family of 1 boy and 2 girls, you have to look at one kid, regardless of gender, so the boy would have 2 sisters, but if the boy was a girl then she too would have 2 sisters as well. So the correct answer is no, both have the same number of sisters and the code would generate the same values. 


Riddle source:

https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1467-9639.1982.tb00465.x