Skip to content

Instantly share code, notes, and snippets.

''' Demonstrate that you don't get accurate percentage
by just throwing a few random rolls '''
from random import randint
from time import time
from functools import partial
LOOK_FOR_NUMBER = 42
POSSIBLE_NUMBERS = 50
SUCCESSIVE_ROLLS = 10, 10, 10, 100, 100, 100, 1000, 10000, 100000, 1000000
### Keybase proof
I hereby claim:
* I am specto on github.
* I am vivok (https://keybase.io/vivok) on keybase.
* I have a public key ASDVfkA-unquuVa76dtIEyPp581u-hct_6h8XayOlL-kSAo
To claim this, I am signing this object: