Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

montyhall-0.1.0-py2-none-any.whl (6.5 kB view details)

Uploaded Python 2

File details

Details for the file montyhall-0.1.0.tar.gz.

File metadata

  • Download URL: montyhall-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for montyhall-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd19d6ebb2cc2747884bc5051d1f5b70bb6cb3138b754167d2d6f2aced834682
MD5 826ee7af4e38039cd6bb6214a09f77a1
BLAKE2b-256 20131654a8cd32dd08bb13abc760456cb330183831a1e34d145f749f6fe2f5ce

See more details on using hashes here.

File details

Details for the file montyhall-0.1.0-py2-none-any.whl.

File metadata

  • Download URL: montyhall-0.1.0-py2-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for montyhall-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 3490a07609d7fcc132f15347ebb73d0fe2c8a67293e7f6a498d93982f8cdfda6
MD5 94aaf60d545ca1b0f8584be0cb982646
BLAKE2b-256 72f3c99165905b45dae7178f27c2543f3ff6b6931c09a08386c0ae82d1548481

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page