Skip to content

facesvision/Monty-Hall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monty-Hall

Monty-Hall probability calculcation

A very simply Python program to play around with Monty Python problem with varying number of doors.

You can arbitrarily change the number of doors at the start of the problem. The host will open 1 door and tell you the result for that door (This door is always a dud).

You can either change to switch your choice or hold onto it. The code simply gives you winning probability for either choice.

You can run this code using the following command.

python main.py --doors 5 --experiments 10000

About

Monty-Hall probability calculcation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages