This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |