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())
Release files for montyhall 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| montyhall-0.1.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| montyhall-0.1.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 8.5 kB
Release files / montyhall-0.1.0.tar.gz
| Download URL | montyhall-0.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd19d6ebb2cc2747884bc5051d1f5b70bb6cb3138b754167d2d6f2aced834682
|
|
BLAKE2b-256 checksum How to use checksums |
20131654a8cd32dd08bb13abc760456cb330183831a1e34d145f749f6fe2f5ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Release files / montyhall-0.1.0-py2-none-any.whl
| Download URL | montyhall-0.1.0-py2-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
3490a07609d7fcc132f15347ebb73d0fe2c8a67293e7f6a498d93982f8cdfda6
|
|
BLAKE2b-256 checksum How to use checksums |
72f3c99165905b45dae7178f27c2543f3ff6b6931c09a08386c0ae82d1548481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|