365 Days of Python: Day #11 — Flipping Frenzy

Rick Deckard
2 min readNov 27, 2022

“Heads or tails?” is a simple question that is used globally to decide bets, determine who receives possession first in (American) football games, and dictate countless other things.

Statistics tell you that the odds are 50-50; but, does tails ever fail? The short answer is yes, and it fails 50% of the time.

Day #11 (11/25/2022)

“The 50–50–90 rule: anytime you have a 50–50 chance of getting something right, there’s a 90% probability you’ll get it wrong.”

— Andy Rooney

Accomplishments

  • Wrote the coin flipping code for my PotW

Weekly Goals

  • Learn the basics of PyGame (20%)
  • Write a program that simulates a coin flip and performs data analysis on its simulated flips (40%)

Closing Thoughts

I have never been the kind of person to press my luck. Rather, I tend to make decisions based on logic and reason.

This way of approaching life has not always benefitted me, though.

It actually has limited me in a sense. Because taking risks is such a rarity for me, I hardly get to experience the thrill of a risk resulting in a reward.

Am I telling you to take more risks?

Taking a risk often has its consequences, which is why I have avoided them so much throughout my life. Therefore, it is up to you to decide whether or not you are willing to put more of your life in the merciless hands of chance.

--

--