Share your repls and programming experiences

← Back to all posts
MontyHallSimulationWithRepetitions
jeanpat (1)

Simulation of the Monty Hall game with three doors.
Here the game can be repeated by modifying the value of a variable in the code.
The program calculates the gain frequency according to the repetitions number for each strategy.