Stochastic Modelling, Machine Learning, Monte Carlo Simulation.
many heads we will get. lets try using monte carlo simulation in this example. Import the required libraries first and define the coin flip function which results either 0 or 1 -Head or Tail. Then defining a monte carlo simulation function to calculate the probability and appending the values to