Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 330 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 330 Bytes

monty-hall-problem

Simulator for the Monty Hall Problem

How to use

Parameters

  • Number of times to run the simulation (integer, default is 1)
  • Strategy: switch or stay

To run 10 simulations with the strategy 'switch':

$ ruby simulator.rb 10 switch