# mirvine/MontyHall

Monty Hall Simulation
Python
Fetching latest commitâ€¦
Cannot retrieve the latest commit at this time.

```===============================================================================
Monty Hall simulation
Author: Mark Irvine (mark@irvinesonline.org)
Date:   13 April 2012
===============================================================================

===============================================================================

Description:
===============================================================================
The Monty Hall problem is a probability puzzle described as a television
gameshow.

See http://en.wikipedia.org/wiki/Monty_Hall_problem for a more detailed
description of the problem.

"Suppose you're on a game show, and you're given the choice of three doors:
Behind one door is a car; behind the others, goats. You pick a door, say
No. 1 [but the door is not opened], and the host, who knows what's behind
the doors, opens another door, say No. 3, which has a goat. He then says
to you, "Do you want to pick door No. 2?" Is it to your advantage to