https://github.com/lpryszcz/monty_hall
simple implementation demonstrating Monty Hall
https://github.com/lpryszcz/monty_hall
hall monty problem
Last synced: 2 months ago
JSON representation
simple implementation demonstrating Monty Hall
- Host: GitHub
- URL: https://github.com/lpryszcz/monty_hall
- Owner: lpryszcz
- License: gpl-3.0
- Created: 2018-07-17T12:07:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T15:40:08.000Z (almost 7 years ago)
- Last Synced: 2025-02-12T08:20:58.256Z (4 months ago)
- Topics: hall, monty, problem
- Language: Python
- Homepage: https://en.wikipedia.org/wiki/Monty_Hall_problem
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# monty_hall
simple implementation demonstrating Monty HallTo execute, just do:
```bash
./monty_hall.py
```
You should see something lie:
```bash
Success 33258 out of 100000 when change=False. Success rate: 0.33258
Success 66833 out of 100000 when change=True. Success rate: 0.66833
```