paint-brush
Answering The Famous Monty Hall Puzzle with the Monte Carlo Techniqueby@samzer
670 reads
670 reads

Answering The Famous Monty Hall Puzzle with the Monte Carlo Technique

by Samir MadhavanAugust 26th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.
featured image - Answering The Famous Monty Hall Puzzle with the Monte Carlo Technique
Samir Madhavan HackerNoon profile picture
Samir Madhavan

Samir Madhavan

@samzer

L O A D I N G
. . . comments & more!

About Author

Samir Madhavan HackerNoon profile picture
Samir Madhavan@samzer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Raddle
Famousaz
Onion