Too Long; Didn't Read
In this post, I'll explain how to solve the Monty Hall problem using the Monte Carlo method. The implementation is in python, a programming language whose name is in itself a tribute to the British Comedy Group - Monty Python. The full code can be found below and how to run it in the header comments. In the movie Avengers: Infinity War, Doctor Strange performs nearly 14 million simulations of the future to determine how many of the outcomes, do the avengers win? Essentially, he is applying the principles of Monte Carlo experiments.