#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.