Imagine a gameshow where you're presented with three doors - one of them has a bunch of money behind it, the other two nothing. You choose your door - then the gameshow host opens one of the other doors and reveals it has nothing behind it. She then give you the chance to change your guess to the remaining unopened door. Do you do it?
Is it worth it to change your guess? Run a few thousand simulated games and find out!
Information about the Monty Hall Problem
git clone [email protected]:tdtshafer/monty-hall.git
cd monty-hall
python ./simulation.py
You'll see a prompt asking if you want to run a simulation or play the game yourself!
Enjoy!
(These instructions assume you have git and python3.x on your machine already)