Hello

Heads or tails?

The coin below is a fair coin and I want to flip it. What do you call? or ?

Flip the coin above!

Balanced coin flip results

What was the probability that you'd be able to guess the coin flip above correctly? If the coin is fair, it's 50%, right? That means that the result is as likely to show up as .

But wait... So far, (flip the coin above!)% of the flips resulted in , while (flip the coin above!)% of the flips resulted in .

That's because you only flipped the coin once. If you flip the coin a whole lot more, the split of the results between and will converge to the expected 50% / 50% split:

Tally after 0 flips:

Heads Tails
0 0
0.00% 0.00%

The more you play with the coins above, the closer the percentages will balance out; it's a numbers game.

Become the smartest Python ๐Ÿ developer in the room ๐Ÿš€

Every Monday, you'll get a Python deep dive that unpacks a topic with analogies, diagrams, and code examples so you can write clearer, faster, and more idiomatic code.

Previous Post Next Post

Blog Comments powered by Disqus.