资讯

The "Monty Hall problem" is a classic example of how games of chance can have surprising results. Here’s a fun way to model the problem.
This small Python script simulates the game enough to iteratively determine that the two strategies are quite close in results, but the “longest move” strategy does ultimately come out on top.