Skip to content

My attempt at testing the monty hall problem using python without looking up existing solutions

Notifications You must be signed in to change notification settings

gsgleason/monty_hall_problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

takes for arguments from the command line: number of games to run, number of doors, whether or not to switch pick after reveal, and debug to spew data

to run one million games with three doors and not switching:

python app_sp.py 1000000 3 0 0

to run one million games with three doors and switch after revealing the goat:

python app_sp.py 1000000 3 1 0

About

My attempt at testing the monty hall problem using python without looking up existing solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages