4 ms·
the guy who flips the coin 100 times is more likely to get a long streak of heads >>> import random >>> ["H" if random.random() < 0.5 else "T" for _
by _dain_ 1y ago
the guy who flips the coin 100 times is more likely to get a long streak of heads
>>> import random
>>> ["H" if random.random() < 0.5 else "T" for _ in range(100)]
['H', 'H', 'H', 'H', 'H', 'T', 'T', 'T', 'T', 'H', 'T', 'T', 'H', 'T', 'T', 'T', 'T', 'H', 'T', 'H', 'H', 'H', 'H', 'H', 'T', 'T', 'H', 'H', 'T', 'H', 'H', 'H', 'T', 'H', 'H', 'H', 'T', 'T', 'T', 'T', 'T', 'H', 'T', 'H', 'H', 'T', 'H', 'T', 'T', 'H', 'T', 'H', 'T', 'H', 'T', 'H', 'T', 'H', 'T', 'H', 'H', 'T', 'T', 'T', 'T', 'T', 'H', 'H', 'T', 'H', 'T', 'H', 'T', 'H', 'T', 'T', 'T', 'T', 'H', 'H', 'H', 'H', 'H', 'H', 'T', 'H', 'H', 'T', 'T', 'T', 'T', 'H', 'H', 'H', 'H', 'H', 'H', 'H', 'H', 'H']
I count 9 at the end, not bad.
flip it more times, that's the luck surface area
- yen223 1y agoBut look at all those tails! That person must be a failure at life and therefore justifies me never flipping any coin.