This is a package to run the Monty Hall experiment
Project description
montyHall
Monty Hall is a package that allows you to run the Monty Hall paradox experiment.
Installation instructions
pip install montyhall
usage
import montyhall
# call the class
monty = montyhall.MontyHall(numberDoors=3, numberIterations=100, numberExperiments=100)
# run a single experiment. This function will return a float value
print(monty.createExperiment(switch=True))
#run a serie of experiments. This functionwill return a pandas dataframe
print(monty.runExperiments())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
montyhall-0.1.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for montyhall-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3490a07609d7fcc132f15347ebb73d0fe2c8a67293e7f6a498d93982f8cdfda6 |
|
MD5 | 94aaf60d545ca1b0f8584be0cb982646 |
|
BLAKE2b-256 | 72f3c99165905b45dae7178f27c2543f3ff6b6931c09a08386c0ae82d1548481 |