prisoners-problem 0.0.10

Creator: railscoder56

Last updated:

Add to Cart

Description:

prisonersproblem 0.0.10

Install using pip3 install prisoners_problem.
Run a couple samples with a given strategy:
>>> from prisoners_problem import simulate
>>> simulate.nsamples(1000, strategy=simulate.try_find_self)
0.3
>>>

help(simulate.nsamples) should give information for how to put in your own
strategy.
You can run python3 -m prisoners_problem.viz to show the results of the
visualization.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.