Ending wealth calc

      use numpylibrary of python for this question. For a refresher on these libraries, please feel free to check out the handouts/videos available in the course website. Assume you start with starting money, every time you will you win/lose bet amt with 49% and 51% probabilities, respectively. You keep playing game len times. Question L: Write a function called ending wealth calc that accepts starting money, bet amt, and game len and returns the wealth (cash) after playing the game for game len times. It is acceptable to end up with negative wealth (that’s why we love credit cards!). This is a very easy question and you should be able to solve it using just a few lines of code mainly using if...else structure. Question M: Call the function ending wealth calc with starting money = 1000, bet amt = 50, and game len = 2000 and print its output. Question N: This question is based on the previous question and is a modification of the previous question. Write a function called wealth tracker that accepts starting money, bet amt, and game len and returns a numpy array (of length game len + 1) keeping track of your cash throughout the game. Question O: Call the function wealth tracker with starting money = 1000, bet amt = 50, and game len = 10 and print its output.