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

Uploaded Source

Built Distribution

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

Uploaded Python 2

Supported by

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