This screencast is a monte carlo (MC) simulation of binary processes using random numbers in python. The highlights are:
1-Explanation np.random.random() function
2-Generation of histogram using plt.hist() function
3-Simulation of probability of heads using random numbers
4-MC Computation of probability of three (3) heads in ten (10) tosses of a fair coin
5- Comparison of MC value with theoretical value using scipy.stats.binom.pmf() function