Monte Carlo Sampling - Roulette Problem - Help Needed

Hello everyone!

I have been tasked with the following problem and don’t have an idea of how to start writing the language for the problem:
Here is the problem: Screenshot - 20ff0189689c153ca9f978d62837adaa - Gyazo

In our class, we were given an example of Monte Carlo Sampling which was based around finding the values of Pi. The notebook of said example will be attached.

Any assistance will be greatly appreciated!

bankroll = 100;
wager = 10;
payoff = 1;
odds = 1/38;
Print[{0, bankroll}]
Do[
bankroll -= wager;
bankroll += wagerpayoffRandomVariate@BernoulliDistribution[odds];
Print[{i, bankroll}];
If[bankroll == 0, Break],
{i, 20}]
Sample output:

{0,100}
{1,90}
{2,90}
{3,80}
{4,70}
{5,60}
{6,50}
{7,40}
{8,30}
{9,20}
{10,10}
{11,0}

Good luck! Be careful with Roulette :slight_smile:

Thank you!