Skip to content

ibulmer/gamblers-ruin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

gamblers-ruin-Python

#statistics simulation

Simulating the gambler's ruin problem. 1 person starts with 1 dollars, the second person starts with 10 dollars. They repeatedly bet 1 dollar on a coin flip until 1 person has all the money and the other person is broke. This experiment repeated n times and an average is taken to see how much each person wins on average. This program was created in python.

Releases

No releases published

Packages

No packages published