Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# three_doors.py
# experimentally verifies the `three doors' problem
# The Three Doors problem (in short):
# Monty Hall shows the contestant three doors, only one of which leads to something good.
# The contestant selects one of the three doors. Monty then reveals one of the _other_
# doors and the good thing is not behind it (this is always possible). He then asks
# the contestant: "Do you want to keep the door you originally chose? Or would you prefer

Keybase proof

I hereby claim:

  • I am wolf on github.
  • I am wolf (https://keybase.io/wolf) on keybase.
  • I have a public key whose fingerprint is 61B6 7A5F C5AC EFB5 0125 B37D 0A7F 9318 294C F6B1

To claim this, I am signing this object: