Statistics, Statistical Analysis, Normal Distribution, Central Limit Theorem, Cdf.
n) Now, we can calculate how much money we have after each roll. We can use a loop to do this: # The list that stores the money after each roll money = [M] # The loop that updates the money based on the outcome for roll in rolls: if roll == 6: # We win 10 rupees if we get a 6 money.append(money[-1]