lpryszcz / monty_hall

simple implementation demonstrating Monty Hall

Home Page:https://en.wikipedia.org/wiki/Monty_Hall_problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monty_hall

simple implementation demonstrating Monty Hall

To execute, just do:

./monty_hall.py

You should see something lie:

Success 33258 out of 100000 when change=False. Success rate: 0.33258
Success 66833 out of 100000 when change=True. Success rate: 0.66833

About

simple implementation demonstrating Monty Hall

https://en.wikipedia.org/wiki/Monty_Hall_problem

License:GNU General Public License v3.0


Languages

Language:Python 100.0%