Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am snago on github.
  • I am snago (https://keybase.io/snago) on keybase.
  • I have a public key ASA1JZkzaGJ-YKaZ_0Ap6eHvG_GsxXcRGdNO5FqlRNeNDQo

To claim this, I am signing this object:

@snago
snago / Monty.py
Created July 9, 2012 18:58 — forked from melpomene/Monty.py
Monty Hall problem
from random import randint
class Game:
def __init__(self):
self.correct = randint(0,2)
def guess(self, door):
self._guess = door
def verify(self):