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%

Become a better Python ๐Ÿ developer, drop by drop ๐Ÿ’ง

Get a daily drop of Python knowledge. A short, effective tip to start writing better Python code: more idiomatic, more effective, more efficient, with fewer bugs. Subscribe here.

Previous Post

Blog Comments powered by Disqus.