Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brutooths
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
brutooths
15y ago
A small simulation in Python from random import randint oneBoy=0 twoBoys=0 # 0 = boy, 1 = girl for i in range(10000): s1 = randint(0,1) s2 = randint(0,1) if s1 * s2 == 0: # Here is at least one boy